File tree Expand file tree Collapse file tree 3 files changed +45
-0
lines changed
src/unix/linux_like/linux/musl Expand file tree Collapse file tree 3 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1515 __val: [ c_ulong; 32 ] ,
1616 }
1717
18+ pub struct semid_ds {
19+ pub sem_perm: crate :: ipc_perm,
20+ pub sem_otime: crate :: time_t,
21+ pub sem_ctime: crate :: time_t,
22+ #[ cfg( target_endian = "little" ) ]
23+ pub sem_nsems: crate :: c_ushort,
24+ #[ cfg( target_endian = "little" ) ]
25+ __sem_nsems_pad: crate :: c_char,
26+ #[ cfg( target_endian = "big" ) ]
27+ __sem_nsems_pad: crate :: c_char,
28+ #[ cfg( target_endian = "big" ) ]
29+ pub sem_nsems: crate :: c_ushort,
30+ __unused3: crate :: c_long,
31+ __unused4: crate :: c_long,
32+ }
33+
1834 pub struct msghdr {
1935 pub msg_name: * mut c_void,
2036 pub msg_namelen: crate :: socklen_t,
Original file line number Diff line number Diff line change 3434 __pad2: c_ulong,
3535 }
3636
37+ pub struct semid_ds {
38+ pub sem_perm: crate :: ipc_perm,
39+ pub sem_otime: crate :: time_t,
40+ pub sem_ctime: crate :: time_t,
41+ #[ cfg( target_endian = "little" ) ]
42+ pub sem_nsems: crate :: c_ushort,
43+ #[ cfg( target_endian = "little" ) ]
44+ __sem_nsems_pad: crate :: c_char,
45+ #[ cfg( target_endian = "big" ) ]
46+ __sem_nsems_pad: crate :: c_char,
47+ #[ cfg( target_endian = "big" ) ]
48+ pub sem_nsems: crate :: c_ushort,
49+ __unused3: crate :: c_long,
50+ __unused4: crate :: c_long,
51+ }
52+
3753 pub struct msqid_ds {
3854 pub msg_perm: crate :: ipc_perm,
3955 pub msg_stime: crate :: time_t,
Original file line number Diff line number Diff line change @@ -279,6 +279,19 @@ s! {
279279 pub ch_addralign: crate :: Elf32_Word ,
280280 }
281281
282+ pub struct seminfo {
283+ pub semmap: c_int,
284+ pub semmni: c_int,
285+ pub semmns: c_int,
286+ pub semmnu: c_int,
287+ pub semmsl: c_int,
288+ pub semopm: c_int,
289+ pub semume: c_int,
290+ pub semusz: c_int,
291+ pub semvmx: c_int,
292+ pub semaem: c_int,
293+ }
294+
282295 pub struct timex {
283296 pub modes: c_uint,
284297 pub offset: c_long,
You can’t perform that action at this time.
0 commit comments