From 3df7733890c45095b1746b996438b1751f11e46c Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 14 Oct 2009 01:22:58 +0200 Subject: [PATCH] message queue manpages: Fix section numbers (3 -> 2). --- lib/librt/mq_close.2 | 14 +++++++------- lib/librt/mq_getattr.2 | 16 ++++++++-------- lib/librt/mq_notify.2 | 14 +++++++------- lib/librt/mq_open.2 | 26 +++++++++++++------------- lib/librt/mq_receive.2 | 14 +++++++------- lib/librt/mq_send.2 | 14 +++++++------- lib/librt/mq_setattr.2 | 16 ++++++++-------- lib/librt/mq_unlink.2 | 18 +++++++++--------- 8 files changed, 66 insertions(+), 66 deletions(-) diff --git a/lib/librt/mq_close.2 b/lib/librt/mq_close.2 index 0c0689732f..1e399bd11f 100644 --- a/lib/librt/mq_close.2 +++ b/lib/librt/mq_close.2 @@ -39,13 +39,13 @@ The argument is not a valid message queue descriptor. .El .Sh SEE ALSO -.Xr mq_getattr 3 , -.Xr mq_notify 3 , -.Xr mq_open 3 , -.Xr mq_receive 3 , -.Xr mq_send 3 , -.Xr mq_setattr 3 , -.Xr mq_unlink 3 +.Xr mq_getattr 2 , +.Xr mq_notify 2 , +.Xr mq_open 2 , +.Xr mq_receive 2 , +.Xr mq_send 2 , +.Xr mq_setattr 2 , +.Xr mq_unlink 2 .Sh STANDARDS This function conforms to the .St -p1003.1-2001 diff --git a/lib/librt/mq_getattr.2 b/lib/librt/mq_getattr.2 index 1178effabf..bdc286d2a4 100644 --- a/lib/librt/mq_getattr.2 +++ b/lib/librt/mq_getattr.2 @@ -34,7 +34,7 @@ argument. Upon return, the following members have the values associated with the open message queue description as set when the message queue was opened and as modified by subsequent -.Xr mq_setattr 3 +.Xr mq_setattr 2 calls: .Va mq_flags . .Pp @@ -63,13 +63,13 @@ function may fail if: The mqdes argument is not a valid message queue descriptor. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_notify 3 , -.Xr mq_open 3 , -.Xr mq_receive 3 , -.Xr mq_send 3 , -.Xr mq_setattr 3 , -.Xr mq_unlink 3 +.Xr mq_close 2 , +.Xr mq_notify 2 , +.Xr mq_open 2 , +.Xr mq_receive 2 , +.Xr mq_send 2 , +.Xr mq_setattr 2 , +.Xr mq_unlink 2 .Sh STANDARDS This function conforms to the .St -p1003.1-2001 diff --git a/lib/librt/mq_notify.2 b/lib/librt/mq_notify.2 index a80f310feb..f23f4d266e 100644 --- a/lib/librt/mq_notify.2 +++ b/lib/librt/mq_notify.2 @@ -67,13 +67,13 @@ argument is not a valid message queue descriptor. A process is already registered for notification by the message queue. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_getattr 3 , -.Xr mq_open 3 , -.Xr mq_receive 3 , -.Xr mq_send 3 , -.Xr mq_setattr 3 , -.Xr mq_unlink 3 +.Xr mq_close 2 , +.Xr mq_getattr 2 , +.Xr mq_open 2 , +.Xr mq_receive 2 , +.Xr mq_send 2 , +.Xr mq_setattr 2 , +.Xr mq_unlink 2 .Sh STANDARDS This function conforms to the .St -p1003.1-2001 diff --git a/lib/librt/mq_open.2 b/lib/librt/mq_open.2 index 81a7aa9a2c..f480094307 100644 --- a/lib/librt/mq_open.2 +++ b/lib/librt/mq_open.2 @@ -63,15 +63,15 @@ Applications must specify exactly one of the first three values .It Dv O_RDONLY Open the message queue for receiving messages. The process can use the returned message queue descriptor with -.Xr mq_receive 3 , +.Xr mq_receive 2 , but not -.Xr mq_send 3 . +.Xr mq_send 2 . .It Dv O_WRONLY Open the queue for sending messages. The process can use the returned message queue descriptor with -.Xr mq_send 3 +.Xr mq_send 2 but not -.Xr mq_receive 3 . +.Xr mq_receive 2 . .It Dv O_RDWR Open the queue for both receiving and sending messages. The process can use any of the functions allowed for @@ -167,9 +167,9 @@ is set and is not set, the result is undefined. .It Dv O_NONBLOCK Determines whether an -.Xr mq_send 3 +.Xr mq_send 2 or -.Xr mq_receive 3 +.Xr mq_receive 2 waits for resources or messages that are not currently available, or fails with errno set to .Er EAGAIN . @@ -249,13 +249,13 @@ is not set and the named message queue does not exist. There is insufficient space for the creation of the new message queue. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_getattr 3 , -.Xr mq_notify 3 , -.Xr mq_receive 3 , -.Xr mq_send 3 , -.Xr mq_setattr 3 , -.Xr mq_unlink 3 +.Xr mq_close 2 , +.Xr mq_getattr 2 , +.Xr mq_notify 2 , +.Xr mq_receive 2 , +.Xr mq_send 2 , +.Xr mq_setattr 2 , +.Xr mq_unlink 2 .Sh STANDARDS This function conforms to the .St -p1003.1-2001 diff --git a/lib/librt/mq_receive.2 b/lib/librt/mq_receive.2 index eaf514d182..5c8189753d 100644 --- a/lib/librt/mq_receive.2 +++ b/lib/librt/mq_receive.2 @@ -144,13 +144,13 @@ flag was not set when the message queue was opened, but no message arrived on the queue before the specified timeout expired. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_getattr 3 , -.Xr mq_notify 3 , -.Xr mq_open 3 , -.Xr mq_send 3 , -.Xr mq_setattr 3 , -.Xr mq_unlink 3 +.Xr mq_close 2 , +.Xr mq_getattr 2 , +.Xr mq_notify 2 , +.Xr mq_open 2 , +.Xr mq_send 2 , +.Xr mq_setattr 2 , +.Xr mq_unlink 2 .Sh STANDARDS These functions are expected to conform to the .St -p1003.1-2001 diff --git a/lib/librt/mq_send.2 b/lib/librt/mq_send.2 index 75fe0eaa0e..47bd417374 100644 --- a/lib/librt/mq_send.2 +++ b/lib/librt/mq_send.2 @@ -175,13 +175,13 @@ flag was not set when the message queue was opened, but the timeout expired before the message could be added to the queue. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_getattr 3 , -.Xr mq_notify 3 , -.Xr mq_open 3 , -.Xr mq_receive 3 , -.Xr mq_setattr 3 , -.Xr mq_unlink 3 +.Xr mq_close 2 , +.Xr mq_getattr 2 , +.Xr mq_notify 2 , +.Xr mq_open 2 , +.Xr mq_receive 2 , +.Xr mq_setattr 2 , +.Xr mq_unlink 2 .Sh STANDARDS These functions are expected to conform to the .St -p1003.1-2001 diff --git a/lib/librt/mq_setattr.2 b/lib/librt/mq_setattr.2 index e461dd7a3e..82023478ed 100644 --- a/lib/librt/mq_setattr.2 +++ b/lib/librt/mq_setattr.2 @@ -57,7 +57,7 @@ function will store, in the location referenced by .Fa omqstat the previous message queue attributes and the current queue status. These values are the same as would be returned by a call to -.Xr mq_getattr 3 +.Xr mq_getattr 2 at that point. .Sh RETURN VALUES Upon successful completion, the @@ -80,13 +80,13 @@ The argument is not a valid message queue descriptor. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_getattr 3 , -.Xr mq_notify 3 , -.Xr mq_open 3 , -.Xr mq_receive 3 , -.Xr mq_send 3 , -.Xr mq_unlink 3 +.Xr mq_close 2 , +.Xr mq_getattr 2 , +.Xr mq_notify 2 , +.Xr mq_open 2 , +.Xr mq_receive 2 , +.Xr mq_send 2 , +.Xr mq_unlink 2 .Sh STANDARDS This function conforms to the .St -p1003.1-2001 diff --git a/lib/librt/mq_unlink.2 b/lib/librt/mq_unlink.2 index 0f29224c6e..f03bb6098e 100644 --- a/lib/librt/mq_unlink.2 +++ b/lib/librt/mq_unlink.2 @@ -24,7 +24,7 @@ After a successful call to with .Fa name , a call to -.Xr mq_open 3 +.Xr mq_open 2 with .Fa name fails if the flag @@ -37,7 +37,7 @@ is called, destruction of the message queue will be postponed until all references to the message queue have been closed. .Pp Calls to -.Xr mq_open 3 +.Xr mq_open 2 to recreate the message queue may fail until the message queue is actually removed. However, the @@ -67,13 +67,13 @@ component is longer than The named message queue does not exist. .El .Sh SEE ALSO -.Xr mq_close 3 , -.Xr mq_getattr 3 , -.Xr mq_notify 3 , -.Xr mq_open 3 , -.Xr mq_receive 3 , -.Xr mq_send 3 , -.Xr mq_setattr 3 +.Xr mq_close 2 , +.Xr mq_getattr 2 , +.Xr mq_notify 2 , +.Xr mq_open 2 , +.Xr mq_receive 2 , +.Xr mq_send 2 , +.Xr mq_setattr 2 .Sh STANDARDS This function conforms to the .St -p1003.1-2001 -- 2.41.0