리눅스 프로그래머를 위한 가이드
/* 시스템안에서 각 공유 메모리 세그먼트에 대한 shmid 자료 구조 */
struct shmid_ds {
struct ipc_perm shm_perm; /* 동작 허가사항 */
int shm_segsz; /* 세그먼트의 크기(bytes) */
time_t shm_atime; /* 마지막 attach 시간 */
time_t shm_dtime; /* 마지막 detach 시간 */
time_t shm_ctime; /* 마지막 change 시간 */
unsigned short shm_cpid; /* 생성자의 pid */
unsigned short shm_lpid; /* 마지막 동작자의 pid */
short shm_nattch; /* 현재 attaches no. */
/* the following are private */
unsigned short shm_npages; /* 세그먼트의 크기 (pages) */
unsigned long *shm_pages; /* array of ptrs to frames -> SHMMAX */
struct vm_area_struct *attaches; /* descriptors for attaches */
};
Copyright (c) 1996,1997 by Euibeom.Hwang & SangEun.Oh All Rights Reserved
Email To:Webmaster ,
Another address
LAST UPDATE Nov 28,1997
Created Nov 28,1997