Fix data types in associated datastructures;

remove non-existent semzcnt and semncnt fields.
This commit is contained in:
Michael Kerrisk 2006-12-27 02:24:32 +00:00
parent 1b3fc756cd
commit ae7098c726
1 changed files with 33 additions and 33 deletions

View File

@ -56,19 +56,19 @@ structure, defined by the
system header file, includes the following members:
.sp
.B
ushort cuid;
uid_t cuid;
/* creator user ID */
.br
.B
ushort cgid;
gid_t cgid;
/* creator group ID */
.br
.B
ushort uid;
uid_t uid;
/* owner user ID */
.br
.B
ushort gid;
gid_t gid;
/* owner group ID */
.br
.B
@ -146,19 +146,19 @@ containing the following members:
struct ipc_perm msg_perm;
.br
.B
ushort msg_qnum;
msgqnum_t msg_qnum;
/* no of messages on queue */
.br
.B
ushort msg_qbytes;
msglen_t msg_qbytes;
/* bytes max on a queue */
.br
.B
ushort msg_lspid;
pid_t msg_lspid;
/* PID of last msgsnd() call */
.br
.B
ushort msg_lrpid;
pid_t msg_lrpid;
/* PID of last msgrcv() call */
.br
.B
@ -231,7 +231,7 @@ containing the following members:
/* last change time */
.br
.B
ushort sem_nsems;
ulong sem_nsems;
/* count of sems in set */
.TP 11
.B sem_perm
@ -263,20 +263,20 @@ A semaphore is a data structure of type
containing the following members:
.sp
.B
ushort semval;
int semval;
/* semaphore value */
.br
.B
short sempid;
int sempid;
/* PID for last operation */
.br
.B
ushort semncnt;
/* nr awaiting semval to increase */
.br
.B
ushort semzcnt;
/* nr awaiting semval = 0 */
.\".br
.\".B
.\" ushort semncnt;
.\"/* nr awaiting semval to increase */
.\".br
.\".B
.\" ushort semzcnt;
.\"/* nr awaiting semval = 0 */
.TP 11
.B semval
Semaphore value: a non-negative integer.
@ -284,16 +284,16 @@ Semaphore value: a non-negative integer.
.B sempid
ID of the last process that performed a semaphore operation
on this semaphore.
.TP
.B semncnt
Number of processes suspended awaiting for
.B semval
to increase.
.TP
.B semznt
Number of processes suspended awaiting for
.B semval
to become zero.
.\".TP
.\".B semncnt
.\"Number of processes suspended awaiting for
.\".B semval
.\"to increase.
.\".TP
.\".B semznt
.\"Number of processes suspended awaiting for
.\".B semval
.\"to become zero.
.SS Shared Memory Segments
A shared memory segment is uniquely identified by a positive integer
.RI "(its " shmid )
@ -307,19 +307,19 @@ containing the following members:
struct ipc_perm shm_perm;
.br
.B
int shm_segsz;
size_t shm_segsz;
/* size of segment */
.br
.B
ushort shm_cpid;
pid_t shm_cpid;
/* PID of creator */
.br
.B
ushort shm_lpid;
pid_t shm_lpid;
/* PID, last operation */
.br
.B
short shm_nattch;
shmatt_t shm_nattch;
/* no. of current attaches */
.br
.B