1570af302Sopenharmony_ci#define SHMLBA 4096 2570af302Sopenharmony_ci 3570af302Sopenharmony_cistruct shmid_ds { 4570af302Sopenharmony_ci struct ipc_perm shm_perm; 5570af302Sopenharmony_ci time_t shm_atime; 6570af302Sopenharmony_ci time_t shm_dtime; 7570af302Sopenharmony_ci time_t shm_ctime; 8570af302Sopenharmony_ci size_t shm_segsz; 9570af302Sopenharmony_ci pid_t shm_cpid; 10570af302Sopenharmony_ci pid_t shm_lpid; 11570af302Sopenharmony_ci unsigned long shm_nattch; 12570af302Sopenharmony_ci unsigned long __unused1[2]; 13570af302Sopenharmony_ci}; 14570af302Sopenharmony_ci 15570af302Sopenharmony_cistruct shminfo { 16570af302Sopenharmony_ci unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused1[4]; 17570af302Sopenharmony_ci}; 18570af302Sopenharmony_ci 19570af302Sopenharmony_cistruct shm_info { 20570af302Sopenharmony_ci int __used_ids; 21570af302Sopenharmony_ci unsigned long shm_tot, shm_rss, shm_swp; 22570af302Sopenharmony_ci unsigned long __swap_attempts, __swap_successes; 23570af302Sopenharmony_ci}; 24