1570af302Sopenharmony_ci#define SHMLBA 4096 2570af302Sopenharmony_ci 3570af302Sopenharmony_cistruct shmid_ds { 4570af302Sopenharmony_ci struct ipc_perm shm_perm; 5570af302Sopenharmony_ci size_t shm_segsz; 6570af302Sopenharmony_ci unsigned long __shm_atime_lo; 7570af302Sopenharmony_ci unsigned long __shm_atime_hi; 8570af302Sopenharmony_ci unsigned long __shm_dtime_lo; 9570af302Sopenharmony_ci unsigned long __shm_dtime_hi; 10570af302Sopenharmony_ci unsigned long __shm_ctime_lo; 11570af302Sopenharmony_ci unsigned long __shm_ctime_hi; 12570af302Sopenharmony_ci pid_t shm_cpid; 13570af302Sopenharmony_ci pid_t shm_lpid; 14570af302Sopenharmony_ci unsigned long shm_nattch; 15570af302Sopenharmony_ci unsigned long __pad1; 16570af302Sopenharmony_ci unsigned long __pad2; 17570af302Sopenharmony_ci unsigned long __pad3; 18570af302Sopenharmony_ci time_t shm_atime; 19570af302Sopenharmony_ci time_t shm_dtime; 20570af302Sopenharmony_ci time_t shm_ctime; 21570af302Sopenharmony_ci}; 22570af302Sopenharmony_ci 23570af302Sopenharmony_cistruct shminfo { 24570af302Sopenharmony_ci unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; 25570af302Sopenharmony_ci}; 26570af302Sopenharmony_ci 27570af302Sopenharmony_cistruct shm_info { 28570af302Sopenharmony_ci int __used_ids; 29570af302Sopenharmony_ci unsigned long shm_tot, shm_rss, shm_swp; 30570af302Sopenharmony_ci unsigned long __swap_attempts, __swap_successes; 31570af302Sopenharmony_ci}; 32