|
55 | 55 | pub struct shmid_ds { |
56 | 56 | pub shm_perm: ::ipc_perm, |
57 | 57 | pub shm_segsz: ::size_t, |
58 | | - pub shm_atime: ::time_t, |
59 | | - __unused1: ::c_int, |
60 | | - pub shm_dtime: ::time_t, |
61 | | - __unused2: ::c_int, |
62 | | - pub shm_ctime: ::time_t, |
63 | | - __unused3: ::c_int, |
| 58 | + __shm_atime_lo: ::c_ulong, |
| 59 | + __shm_atime_hi: ::c_ulong, |
| 60 | + __shm_dtime_lo: ::c_ulong, |
| 61 | + __shm_dtime_hi: ::c_ulong, |
| 62 | + __shm_ctime_lo: ::c_ulong, |
| 63 | + __shm_ctime_hi: ::c_ulong, |
64 | 64 | pub shm_cpid: ::pid_t, |
65 | 65 | pub shm_lpid: ::pid_t, |
66 | 66 | pub shm_nattch: ::c_ulong, |
67 | 67 | __pad1: ::c_ulong, |
68 | 68 | __pad2: ::c_ulong, |
| 69 | + __pad3: ::c_ulong, |
| 70 | + pub shm_atime: ::time_t, |
| 71 | + pub shm_dtime: ::time_t, |
| 72 | + pub shm_ctime: ::time_t, |
69 | 73 | } |
70 | 74 |
|
71 | 75 | pub struct msqid_ds { |
72 | 76 | pub msg_perm: ::ipc_perm, |
73 | | - pub msg_stime: ::time_t, |
74 | | - __unused1: ::c_int, |
75 | | - pub msg_rtime: ::time_t, |
76 | | - __unused2: ::c_int, |
77 | | - pub msg_ctime: ::time_t, |
78 | | - __unused3: ::c_int, |
79 | | - __msg_cbytes: ::c_ulong, |
| 77 | + __msg_stime_lo: ::c_ulong, |
| 78 | + __msg_stime_hi: ::c_ulong, |
| 79 | + __msg_rtime_lo: ::c_ulong, |
| 80 | + __msg_rtime_hi: ::c_ulong, |
| 81 | + __msg_ctime_lo: ::c_ulong, |
| 82 | + __msg_ctime_hi: ::c_ulong, |
| 83 | + pub msg_cbytes: ::c_ulong, |
80 | 84 | pub msg_qnum: ::msgqnum_t, |
81 | 85 | pub msg_qbytes: ::msglen_t, |
82 | 86 | pub msg_lspid: ::pid_t, |
83 | 87 | pub msg_lrpid: ::pid_t, |
84 | | - __pad1: ::c_ulong, |
85 | | - __pad2: ::c_ulong, |
| 88 | + __unused: [::c_ulong; 2], |
| 89 | + pub msg_stime: ::time_t, |
| 90 | + pub msg_rtime: ::time_t, |
| 91 | + pub msg_ctime: ::time_t, |
86 | 92 | } |
87 | 93 |
|
88 | 94 | pub struct statfs { |
|
0 commit comments