diff options
Diffstat (limited to 'man2/msgget.2')
-rw-r--r-- | man2/msgget.2 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man2/msgget.2 b/man2/msgget.2 index 0774f49..4a871d8 100644 --- a/man2/msgget.2 +++ b/man2/msgget.2 @@ -12,7 +12,7 @@ .\" Language and formatting clean-ups .\" Added notes on /proc files .\" -.TH msgget 2 2023-03-30 "Linux man-pages 6.05.01" +.TH msgget 2 2023-10-31 "Linux man-pages 6.7" .SH NAME msgget \- get a System V message queue identifier .SH LIBRARY @@ -21,7 +21,7 @@ Standard C library .SH SYNOPSIS .nf .B #include <sys/msg.h> -.PP +.P .BI "int msgget(key_t " key ", int " msgflg ); .fi .SH DESCRIPTION @@ -39,7 +39,7 @@ is zero and does not have the value .BR IPC_PRIVATE ), or to create a new set. -.PP +.P A new message queue is created if .I key has the value @@ -54,7 +54,7 @@ exists, and .B IPC_CREAT is specified in .IR msgflg . -.PP +.P If .I msgflg specifies both @@ -73,7 +73,7 @@ set to .B O_CREAT | O_EXCL for .BR open (2).) -.PP +.P Upon creation, the least significant bits of the argument .I msgflg define the permissions of the message queue. @@ -83,7 +83,7 @@ as the permissions specified for the argument of .BR open (2). (The execute permissions are not used.) -.PP +.P If a new message queue is created, then its associated data structure .I msqid_ds @@ -120,7 +120,7 @@ is set to the current time. .I msg_qbytes is set to the system limit .BR MSGMNB . -.PP +.P If the message queue already exists the permissions are verified, and a check is made to see if it is marked for destruction. @@ -187,7 +187,7 @@ If this special value is used for the system call ignores everything but the least significant 9 bits of .I msgflg and creates a new message queue (on success). -.PP +.P The following is a system limit on message queue resources affecting a .BR msgget () call: |