File tree 2 files changed +11
-1
lines changed
src/unix/linux_like/linux/musl
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ ACCOUNTING
1
2
AF_IB
2
3
AF_MPLS
3
4
AF_XDP
@@ -37,6 +38,9 @@ RWF_HIPRI
37
38
RWF_NOWAIT
38
39
RWF_SYNC
39
40
USER_PROCESS
41
+ UT_HOSTSIZE
42
+ UT_LINESIZE
43
+ UT_NAMESIZE
40
44
_CS_V6_ENV
41
45
_CS_V7_ENV
42
46
adjtimex
@@ -82,3 +86,4 @@ reallocarray
82
86
setutxent
83
87
tcp_info
84
88
timex
89
+ utmpxname
Original file line number Diff line number Diff line change @@ -656,7 +656,7 @@ pub const INIT_PROCESS: c_short = 5;
656
656
pub const LOGIN_PROCESS : c_short = 6 ;
657
657
pub const USER_PROCESS : c_short = 7 ;
658
658
pub const DEAD_PROCESS : c_short = 8 ;
659
- // musl does not define ACCOUNTING
659
+ pub const ACCOUNTING : c_short = 9 ;
660
660
661
661
pub const SFD_CLOEXEC : c_int = 0x080000 ;
662
662
@@ -888,6 +888,10 @@ pub const _CS_V7_ENV: c_int = 1149;
888
888
889
889
pub const CLONE_NEWTIME : c_int = 0x80 ;
890
890
891
+ pub const UT_HOSTSIZE : usize = 256 ;
892
+ pub const UT_LINESIZE : usize = 32 ;
893
+ pub const UT_NAMESIZE : usize = 32 ;
894
+
891
895
cfg_if ! {
892
896
if #[ cfg( target_arch = "s390x" ) ] {
893
897
pub const POSIX_FADV_DONTNEED : c_int = 6 ;
@@ -990,6 +994,7 @@ extern "C" {
990
994
pub fn pututxline ( ut : * const utmpx ) -> * mut utmpx ;
991
995
pub fn setutxent ( ) ;
992
996
pub fn endutxent ( ) ;
997
+ pub fn utmpxname ( file : * const c_char ) -> c_int ;
993
998
}
994
999
995
1000
// Alias <foo> to <foo>64 to mimic glibc's LFS64 support
You can’t perform that action at this time.
0 commit comments