Print this page
12315 errors in section 7i of the manual
@@ -1,5 +1,6 @@
+.\" Copyright 2020 Peter Tribble.
.\" Copyright (c) 2017, Joyent, Inc.
.\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 1989 AT&T
.\" The contents of this file are subject to the terms of the
.\" Common Development and Distribution License (the "License").
@@ -13,11 +14,11 @@
.\" 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]
-.Dd October 29, 2017
+.Dd February 17, 2020
.Dt STREAMIO 7I
.Os
.Sh NAME
.Nm streamio
.Nd STREAMS ioctl commands
@@ -355,18 +356,18 @@
signals.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EINVAL
-.It Sy EINVAL
+.It Er EINVAL
.Fa arg
value is invalid or
.Fa arg
is zero and process is not registered to receive the
.Dv SIGPOLL
signal.
-.It Sy EAGAIN
+.It Er EAGAIN
Allocation of a data structure to store the signal request failed.
.El
.It Dv I_GETSIG
Returns the events for which the calling process is currently registered to be
sent a
@@ -379,15 +380,15 @@
above.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EINVAL
-.It Sy EINVAL
+.It Er EINVAL
Process not registered to receive the
.Dv SIGPOLL
signal.
-.It Sy EFAULT
+.It Er EFAULT
.Fa arg
points outside the allocated address space.
.El
.It Dv I_FIND
Compares the names of all modules currently present in the stream to the name
@@ -397,14 +398,14 @@
It returns 0 if the named module is not present.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EINVAL
-.It Sy EFAULT
+.It Er EFAULT
.Fa arg
points outside the allocated address space.
-.It Sy EINVAL
+.It Er EINVAL
.Fa arg
does not contain a valid module name.
.El
.It Dv I_PEEK
Allows a user to retrieve the information in the first message on the stream
@@ -805,11 +806,11 @@
.Dv I_STR
calls
will block until the active
.Dv I_STR
completes via a positive or negative
-acknowlegment, a timeout, or an error condition at the stream head.
+acknowledgement, a timeout, or an error condition at the stream head.
By setting the
.Fa ic_timout
field to 0, the user is requesting STREAMS to provide
the
.Sy DEFAULT
@@ -895,11 +896,11 @@
.Pp
On failure,
.Va errno
may be set to the following value:
.Bl -tag -width EINVAL
-.It Sy EINVAL
+.It Er EINVAL
.Fa arg
is not the above legal value.
.El
.It Dv I_GWROPT
Returns the current write mode setting, as described above, in the
@@ -1166,11 +1167,11 @@
on error.
On failure,
.Va errno
is set to the following value:
.Bl -tag -width EINVAL
-.It Sy EINVAL
+.It Er EINVAL
Invalid
.Va arg
value.
.El
.It Dv I_SETCLTIME
@@ -1257,11 +1258,11 @@
.Dv I_SERROPT .
On failure,
.Va errno
is set to the following value:
.Bl -tag -width EFAULT
-.It Sy EFAULT
+.It Er EFAULT
.Fa arg
points outside the allocated address space.
.El
.El
.Pp
@@ -1493,11 +1494,11 @@
this command requires the multiplexing driver to acknowledge the unlink.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EAGAIN
-.It Sy ENXIO
+.It Er ENXIO
Hangup received on
.Fa fildes .
.It Er ETIME
Time out before acknowledgement message was received at the stream head.
.It Er EAGAIN