diff options
author | mpp <mpp@FreeBSD.org> | 1997-03-21 20:46:30 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-03-21 20:46:30 +0000 |
commit | 8eaf2deaa2812ed3ea9fdea3f6b64f3d86d565f8 (patch) | |
tree | 58f5c2b26820f51567d3fa982936bc31e5cd8dfe /lib/libc/gen/msgget.3 | |
parent | 7f4b68ba6dab4665b9c10336a2a9b62d0772c8a1 (diff) | |
download | FreeBSD-src-8eaf2deaa2812ed3ea9fdea3f6b64f3d86d565f8.zip FreeBSD-src-8eaf2deaa2812ed3ea9fdea3f6b64f3d86d565f8.tar.gz |
Mdoc cleanup.
Diffstat (limited to 'lib/libc/gen/msgget.3')
-rw-r--r-- | lib/libc/gen/msgget.3 | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/lib/libc/gen/msgget.3 b/lib/libc/gen/msgget.3 index b934f1c..72a07e4 100644 --- a/lib/libc/gen/msgget.3 +++ b/lib/libc/gen/msgget.3 @@ -46,15 +46,18 @@ returns the message queue identifier associated with .Fa key . A message queue identifier is a unique integer greater than zero. - +.Pp A message queue is created if either .Fa key -is equal to IPC_PRIVATE, or +is equal to +.Dv IPC_PRIVATE , +or .Fa key -does not have a message queue identifier associated with it, and the IPC_CREAT +does not have a message queue identifier associated with it, and the +.Dv IPC_CREAT bit is set in .Fa msgflg. - +.Pp If a new message queue is created, the data structure associated with it (the .Va msqid_ds structure, see @@ -83,11 +86,11 @@ is set to the lower 9 bits of .Va msg_rtime , and .Va msg_stime -are set to 0 +are set to 0. .It .Va msg_qbytes is set to the system wide maximum value for the number of bytes in a queue -(MSGMNB). +.Pf ( Dv MSGMNB ) . .It .Va msg_ctime is set to the current time. @@ -104,7 +107,11 @@ A message queue is already associated with .Fa key and the caller has no permission to access it. .It Bq Er EEXIST -Both IPC_CREAT and IPC_EXCL are set in +Both +.Dv IPC_CREAT +and +.Dv IPC_EXCL +are set in .Fa msgflg , and a message queue is already associated with .Fa key . @@ -112,7 +119,8 @@ and a message queue is already associated with A new message queue could not be created because the system limit for the number of message queues has been reached. .It Bq Er ENOENT -IPC_CREAT was not set in +.Dv IPC_CREAT +was not set in .Fa msgflg and no message queue associated with .Fa key |