github.com/afumu/libc@v0.0.6/musl/arch/powerpc64/bits/shm.h (about)

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