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,23 ****
.\" 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
.Dt STREAMIO 7I
.Os
.Sh NAME
.Nm streamio
.Nd STREAMS ioctl commands
--- 14,24 ----
.\" 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 February 17, 2020
.Dt STREAMIO 7I
.Os
.Sh NAME
.Nm streamio
.Nd STREAMS ioctl commands
*** 355,372 ****
signals.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EINVAL
! .It Sy 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
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
--- 356,373 ----
signals.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width 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 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,393 ****
above.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EINVAL
! .It Sy EINVAL
Process not registered to receive the
.Dv SIGPOLL
signal.
! .It Sy 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
--- 380,394 ----
above.
On failure,
.Va errno
is set to one of the following values:
.Bl -tag -width EINVAL
! .It Er EINVAL
Process not registered to receive the
.Dv SIGPOLL
signal.
! .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,410 ****
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
.Fa arg
points outside the allocated address space.
! .It Sy 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
--- 398,411 ----
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 Er EFAULT
.Fa arg
points outside the allocated address space.
! .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,815 ****
.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.
By setting the
.Fa ic_timout
field to 0, the user is requesting STREAMS to provide
the
.Sy DEFAULT
--- 806,816 ----
.Dv I_STR
calls
will block until the active
.Dv I_STR
completes via a positive or negative
! 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,905 ****
.Pp
On failure,
.Va errno
may be set to the following value:
.Bl -tag -width EINVAL
! .It Sy 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
--- 896,906 ----
.Pp
On failure,
.Va errno
may be set to the following value:
.Bl -tag -width 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,1176 ****
on error.
On failure,
.Va errno
is set to the following value:
.Bl -tag -width EINVAL
! .It Sy EINVAL
Invalid
.Va arg
value.
.El
.It Dv I_SETCLTIME
--- 1167,1177 ----
on error.
On failure,
.Va errno
is set to the following value:
.Bl -tag -width EINVAL
! .It Er EINVAL
Invalid
.Va arg
value.
.El
.It Dv I_SETCLTIME
*** 1257,1267 ****
.Dv I_SERROPT .
On failure,
.Va errno
is set to the following value:
.Bl -tag -width EFAULT
! .It Sy EFAULT
.Fa arg
points outside the allocated address space.
.El
.El
.Pp
--- 1258,1268 ----
.Dv I_SERROPT .
On failure,
.Va errno
is set to the following value:
.Bl -tag -width EFAULT
! .It Er EFAULT
.Fa arg
points outside the allocated address space.
.El
.El
.Pp
*** 1493,1503 ****
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
Hangup received on
.Fa fildes .
.It Er ETIME
Time out before acknowledgement message was received at the stream head.
.It Er EAGAIN
--- 1494,1504 ----
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 Er ENXIO
Hangup received on
.Fa fildes .
.It Er ETIME
Time out before acknowledgement message was received at the stream head.
.It Er EAGAIN