File tree 1 file changed +5
-0
lines changed
src/unix/bsd/freebsdlike/freebsd
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;
1008
1008
pub const MSG_CMSG_CLOEXEC : :: c_int = 0x00040000 ;
1009
1009
pub const MSG_NOSIGNAL : :: c_int = 0x20000 ;
1010
1010
1011
+ // utmpx entry types
1011
1012
pub const EMPTY : :: c_short = 0 ;
1012
1013
pub const BOOT_TIME : :: c_short = 1 ;
1013
1014
pub const OLD_TIME : :: c_short = 2 ;
@@ -1017,6 +1018,10 @@ pub const INIT_PROCESS: ::c_short = 5;
1017
1018
pub const LOGIN_PROCESS : :: c_short = 6 ;
1018
1019
pub const DEAD_PROCESS : :: c_short = 7 ;
1019
1020
pub 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 ;
1020
1025
1021
1026
pub const LC_COLLATE_MASK : :: c_int = ( 1 << 0 ) ;
1022
1027
pub const LC_CTYPE_MASK : :: c_int = ( 1 << 1 ) ;
You can’t perform that action at this time.
0 commit comments