summaryrefslogtreecommitdiffstats
path: root/man3/mq_open.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/mq_open.3')
-rw-r--r--man3/mq_open.336
1 files changed, 18 insertions, 18 deletions
diff --git a/man3/mq_open.3 b/man3/mq_open.3
index 7343ea093..ef5ea1526 100644
--- a/man3/mq_open.3
+++ b/man3/mq_open.3
@@ -27,7 +27,7 @@ The queue is identified by
For details of the construction of
.IR name ,
see
-.BR mq_overview (7).
+.MR mq_overview 7 .
.P
The
.I oflag
@@ -55,7 +55,7 @@ in
.\" commit 269f21344b23e552c21c9e2d7ca258479dcd7a0a
Set the close-on-exec flag for the message queue descriptor.
See
-.BR open (2)
+.MR open 2
for a discussion of why this flag is useful.
.TP
.B O_CREAT
@@ -79,9 +79,9 @@ already exists, then fail with the error
.B O_NONBLOCK
Open the queue in nonblocking mode.
In circumstances where
-.BR mq_receive (3)
+.MR mq_receive 3
and
-.BR mq_send (3)
+.MR mq_send 3
would normally block, these functions instead fail with the error
.BR EAGAIN .
.P
@@ -94,7 +94,7 @@ The
.I mode
argument specifies the permissions to be placed on the new queue,
as for
-.BR open (2).
+.MR open 2 .
(Symbolic definitions for the permissions bits can be obtained by including
.IR <sys/stat.h> .)
The permissions settings are masked against the process umask.
@@ -134,7 +134,7 @@ default attributes.
Since Linux 3.5, two
.I /proc
files can be used to control these defaults; see
-.BR mq_overview (7)
+.MR mq_overview 7
for details.
.SH RETURN VALUE
On success,
@@ -175,7 +175,7 @@ already exists.
.\" gives this error
.I name
doesn't follow the format in
-.BR mq_overview (7).
+.MR mq_overview 7 .
.TP
.B EINVAL
.B O_CREAT
@@ -206,7 +206,7 @@ cannot exceed the
.B HARD_MAX
limit.
(See
-.BR mq_overview (7)
+.MR mq_overview 7
for details of these limits.)
.TP
.B EMFILE
@@ -215,7 +215,7 @@ and message queue descriptors has been reached
(see the description of
.B RLIMIT_NOFILE
in
-.BR getrlimit (2)).
+.MR getrlimit 2 ).
.TP
.B ENAMETOOLONG
.I name
@@ -247,10 +247,10 @@ Insufficient space for the creation of a new message queue.
This probably occurred because the
.I queues_max
limit was encountered; see
-.BR mq_overview (7).
+.MR mq_overview 7 .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -289,10 +289,10 @@ Before Linux 2.6.14,
the process umask was not applied to the permissions specified in
.IR mode .
.SH SEE ALSO
-.BR mq_close (3),
-.BR mq_getattr (3),
-.BR mq_notify (3),
-.BR mq_receive (3),
-.BR mq_send (3),
-.BR mq_unlink (3),
-.BR mq_overview (7)
+.MR mq_close 3 ,
+.MR mq_getattr 3 ,
+.MR mq_notify 3 ,
+.MR mq_receive 3 ,
+.MR mq_send 3 ,
+.MR mq_unlink 3 ,
+.MR mq_overview 7