1570af302Sopenharmony_cistruct semid_ds { 2570af302Sopenharmony_ci struct ipc_perm sem_perm; 3570af302Sopenharmony_ci unsigned long __sem_otime_lo; 4570af302Sopenharmony_ci unsigned long __sem_otime_hi; 5570af302Sopenharmony_ci unsigned long __sem_ctime_lo; 6570af302Sopenharmony_ci unsigned long __sem_ctime_hi; 7570af302Sopenharmony_ci#if __BYTE_ORDER == __LITTLE_ENDIAN 8570af302Sopenharmony_ci unsigned short sem_nsems; 9570af302Sopenharmony_ci char __sem_nsems_pad[sizeof(long)-sizeof(short)]; 10570af302Sopenharmony_ci#else 11570af302Sopenharmony_ci char __sem_nsems_pad[sizeof(long)-sizeof(short)]; 12570af302Sopenharmony_ci unsigned short sem_nsems; 13570af302Sopenharmony_ci#endif 14570af302Sopenharmony_ci long __unused3; 15570af302Sopenharmony_ci long __unused4; 16570af302Sopenharmony_ci time_t sem_otime; 17570af302Sopenharmony_ci time_t sem_ctime; 18570af302Sopenharmony_ci}; 19