diff options
Diffstat (limited to 'usr/src/man/man2/putmsg.2')
-rw-r--r-- | usr/src/man/man2/putmsg.2 | 37 |
1 files changed, 7 insertions, 30 deletions
diff --git a/usr/src/man/man2/putmsg.2 b/usr/src/man/man2/putmsg.2 index bf155211fb..85d98f8b8f 100644 --- a/usr/src/man/man2/putmsg.2 +++ b/usr/src/man/man2/putmsg.2 @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T. Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved. 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 putmsg 2 "1 Nov 2003" "SunOS 5.11" "System Calls" +.TH PUTMSG 2 "Nov 1, 2003" .SH NAME putmsg, putpmsg \- send a message on a stream .SH SYNOPSIS @@ -121,12 +121,10 @@ returned and \fBerrno\fR is set to indicate the error. The \fBputmsg()\fR and \fBputpmsg()\fR functions will fail if: .sp .ne 2 -.mk .na \fB\fBEAGAIN\fR\fR .ad .RS 16n -.rt A non-priority message was specified, the \fBO_NDELAY\fR or \fBO_NONBLOCK\fR flag is set and the stream write queue is full due to internal flow control conditions. @@ -134,45 +132,37 @@ conditions. .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument is not a valid file descriptor open for writing. .RE .sp .ne 2 -.mk .na \fB\fBEFAULT\fR\fR .ad .RS 16n -.rt The \fIctlptr\fR or \fIdataptr\fR argument points to an illegal address. .RE .sp .ne 2 -.mk .na \fB\fBEINTR\fR\fR .ad .RS 16n -.rt A signal was caught during the execution of the \fBputmsg()\fR function. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 16n -.rt An undefined value was specified in \fIflags\fR; \fIflags\fR is set to \fBRS_HIPRI\fR and no control part was supplied; or the stream referenced by \fIfildes\fR is linked below a multiplexor. @@ -180,47 +170,39 @@ An undefined value was specified in \fIflags\fR; \fIflags\fR is set to .sp .ne 2 -.mk .na \fB\fBENOSR\fR\fR .ad .RS 16n -.rt Buffers could not be allocated for the message that was to be created due to insufficient streams memory resources. .RE .sp .ne 2 -.mk .na \fB\fBENOSTR\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument is not associated with a stream. .RE .sp .ne 2 -.mk .na \fB\fBENXIO\fR\fR .ad .RS 16n -.rt A hangup condition was generated downstream for the specified stream, or the other end of the pipe is closed. .RE .sp .ne 2 -.mk .na \fB\fBEPIPE\fR or \fBEIO\fR\fR .ad .RS 16n -.rt The \fIfildes\fR argument refers to a streams-based pipe and the other end of the pipe is closed. A \fBSIGPIPE\fR signal is generated for the calling thread. This error condition occurs only with SUS-conforming applications. See @@ -229,12 +211,10 @@ thread. This error condition occurs only with SUS-conforming applications. See .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 16n -.rt The size of the data part of the message does not fall within the range specified by the maximum and minimum packet sizes of the topmost stream module. This value is also returned if the control part of the message is larger than @@ -254,12 +234,10 @@ but reflects the prior error. The \fBputpmsg()\fR function will fail if: .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt The \fIflags\fR argument is set to \fBMSG_HIPRI\fR and \fIband\fR is non-zero. .RE @@ -271,13 +249,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO |