1
0

shm.h 454 B

1234567891011121314151617181920212223
  1. #define SHMLBA 4096
  2. struct shmid_ds {
  3. struct ipc_perm shm_perm;
  4. time_t shm_atime;
  5. time_t shm_dtime;
  6. time_t shm_ctime;
  7. size_t shm_segsz;
  8. pid_t shm_cpid;
  9. pid_t shm_lpid;
  10. unsigned long shm_nattch;
  11. unsigned long __unused[2];
  12. };
  13. struct shminfo {
  14. unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
  15. };
  16. struct shm_info {
  17. int __used_ids;
  18. unsigned long shm_tot, shm_rss, shm_swp;
  19. unsigned long __swap_attempts, __swap_successes;
  20. };