File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1008,6 +1008,7 @@ pub const MSG_COMPAT: ::c_int = 0x00008000;
10081008pub const MSG_CMSG_CLOEXEC : :: c_int = 0x00040000 ;
10091009pub const MSG_NOSIGNAL : :: c_int = 0x20000 ;
10101010
1011+ // utmpx entry types
10111012pub const EMPTY : :: c_short = 0 ;
10121013pub const BOOT_TIME : :: c_short = 1 ;
10131014pub const OLD_TIME : :: c_short = 2 ;
@@ -1017,6 +1018,10 @@ pub const INIT_PROCESS: ::c_short = 5;
10171018pub const LOGIN_PROCESS : :: c_short = 6 ;
10181019pub const DEAD_PROCESS : :: c_short = 7 ;
10191020pub const SHUTDOWN_TIME : :: c_short = 8 ;
1021+ // utmp database types
1022+ pub const UTXDB_ACTIVE : :: c_int = 0 ;
1023+ pub const UTXDB_LASTLOGIN : :: c_int = 1 ;
1024+ pub const UTXDB_LOG : :: c_int = 2 ;
10201025
10211026pub const LC_COLLATE_MASK : :: c_int = ( 1 << 0 ) ;
10221027pub const LC_CTYPE_MASK : :: c_int = ( 1 << 1 ) ;
You can’t perform that action at this time.
0 commit comments