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 15
15
__val: [ c_ulong; 32 ] ,
16
16
}
17
17
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
+
18
34
pub struct msghdr {
19
35
pub msg_name: * mut c_void,
20
36
pub msg_namelen: crate :: socklen_t,
Original file line number Diff line number Diff line change 34
34
__pad2: c_ulong,
35
35
}
36
36
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
+
37
53
pub struct msqid_ds {
38
54
pub msg_perm: crate :: ipc_perm,
39
55
pub msg_stime: crate :: time_t,
Original file line number Diff line number Diff line change @@ -279,6 +279,19 @@ s! {
279
279
pub ch_addralign: crate :: Elf32_Word ,
280
280
}
281
281
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
+
282
295
pub struct timex {
283
296
pub modes: c_uint,
284
297
pub offset: c_long,
You can’t perform that action at this time.
0 commit comments