aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/mq_close.2
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2005-12-03 01:34:41 +0000
committerDavid Xu <davidxu@FreeBSD.org>2005-12-03 01:34:41 +0000
commit951ac754b97595212e4c23c595838a962927f647 (patch)
tree4ea2d93e7ac2b1ffe5c6aa79e399af7e953f75d9 /lib/libc/sys/mq_close.2
parentb09abb4b2c1293f7152746b415711286d3473a56 (diff)
downloadsrc-951ac754b97595212e4c23c595838a962927f647.tar.gz
src-951ac754b97595212e4c23c595838a962927f647.zip
Fix lots of markup and content bug.
Submitted by: ru
Notes
Notes: svn path=/head/; revision=153036
Diffstat (limited to 'lib/libc/sys/mq_close.2')
-rw-r--r--lib/libc/sys/mq_close.218
1 files changed, 8 insertions, 10 deletions
diff --git a/lib/libc/sys/mq_close.2 b/lib/libc/sys/mq_close.2
index 3f0461cfe4d3..c2968fb5e652 100644
--- a/lib/libc/sys/mq_close.2
+++ b/lib/libc/sys/mq_close.2
@@ -42,9 +42,10 @@
.Sh DESCRIPTION
The
.Fn mq_close
-system call removes the association between the message queue descriptor,
+system call removes the association between the message queue descriptor,
.Fa mqdes ,
-and its message queue. The results of using this message queue descriptor
+and its message queue.
+The results of using this message queue descriptor
after successful return from this
.Fn mq_close ,
and until the return of this message queue descriptor from a subsequent
@@ -57,12 +58,7 @@ message queue via this
this attachment will be removed, and the message queue is available for
another process to attach for notification.
.Sh RETURN VALUES
-Upon successful completion, the
-.Fn mq_close
-system call returns a value of zero; otherwise, the system call returns a
-value of -1 and set
-.Va errno
-to indicate the error.
+.Rv -std
.Sh ERRORS
The
.Fn mq_close
@@ -80,8 +76,10 @@ argument is not a valid message queue descriptor.
.Sh STANDARDS
The
.Fn mq_close
-system call conform to
+system call conforms to
.St -p1003.1-2004 .
.Sh HISTORY
-Support for POSIX message queue first appeared in
+Support for
+.Tn POSIX
+message queues first appeared in
.Fx 7.0 .