summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/mq_receive.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/mq_receive.3c')
-rw-r--r--usr/src/man/man3c/mq_receive.3c33
1 files changed, 9 insertions, 24 deletions
diff --git a/usr/src/man/man3c/mq_receive.3c b/usr/src/man/man3c/mq_receive.3c
index 3d244806ea..2474485373 100644
--- a/usr/src/man/man3c/mq_receive.3c
+++ b/usr/src/man/man3c/mq_receive.3c
@@ -2,14 +2,14 @@
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved.
-.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
+.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH mq_receive 3C "5 Feb 2008" "SunOS 5.11" "Standard C Library Functions"
+.TH MQ_RECEIVE 3C "Feb 5, 2008"
.SH NAME
mq_receive, mq_timedreceive, mq_reltimedreceive_np \- receive a message from a
message queue
@@ -121,47 +121,39 @@ The \fBmq_receive()\fR, \fBmq_timedreceive()\fR, and
\fBmq_reltimedreceive_np()\fR functions will fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEAGAIN\fR \fR
.ad
.RS 13n
-.rt
\fBO_NONBLOCK\fR was set in the message description associated with
\fImqdes\fR, and the specified message queue is empty.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR \fR
.ad
.RS 13n
-.rt
The \fImqdes\fR argument is not a valid message queue descriptor open for
reading.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINTR\fR \fR
.ad
.RS 13n
-.rt
The function was interrupted by a signal.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINVAL\fR\fR
.ad
.RS 13n
-.rt
The process or thread would have blocked, and the timeout parameter specified a
nanoseconds field value less than zero or greater than or equal to 1,000
million.
@@ -169,24 +161,20 @@ million.
.sp
.ne 2
-.mk
.na
\fB\fBEMSGSIZE\fR \fR
.ad
.RS 13n
-.rt
The specified message buffer size, \fImsg_len\fR, is less than the message size
member of the message queue.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBETIMEDOUT\fR\fR
.ad
.RS 13n
-.rt
The \fBO_NONBLOCK\fR flag was not set when the message queue was opened, but no
message arrived on the queue before the specified timeout expired.
.RE
@@ -197,12 +185,10 @@ The \fBmq_receive()\fR, \fBmq_timedreceive()\fR, and
\fBmq_reltimedreceive_np()\fR functions may fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEBADMSG\fR \fR
.ad
.RS 12n
-.rt
A data corruption problem with the message has been detected.
.RE
@@ -214,17 +200,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-lw(2.75i) |lw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+l | l
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
_
-StandardSee below.
+Standard See below.
.TE
.sp