Document that these calls can return EINVAL if the total length of the I/O
is more than can be expressed in the ssize_t return value.
This commit is contained in:
parent
4b039671de
commit
bbc3c4bf2a
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: read.2,v 1.9 1998/07/28 09:43:30 is Exp $
|
||||
.\" $NetBSD: read.2,v 1.10 1998/07/29 02:11:35 thorpej Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -154,6 +154,9 @@ any data arrived by the delivery of a signal.
|
|||
The pointer associated with
|
||||
.Fa d
|
||||
was negative.
|
||||
.It Bq Er EINVAL
|
||||
The total length of the I/O is more than can be expressed by the ssize_t
|
||||
return value.
|
||||
.It Bq Er EAGAIN
|
||||
The file was marked for non-blocking I/O,
|
||||
and no data were ready to be read.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: recv.2,v 1.8 1998/07/28 09:43:30 is Exp $
|
||||
.\" $NetBSD: recv.2,v 1.9 1998/07/29 02:11:36 thorpej Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1990, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -253,6 +253,9 @@ any data were available.
|
|||
.It Bq Er EFAULT
|
||||
The receive buffer pointer(s) point outside the process's
|
||||
address space.
|
||||
.It Bq Er EINVAL
|
||||
The total length of the I/O is more than can be expressed by the ssize_t
|
||||
return value.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr fcntl 2 ,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: send.2,v 1.8 1998/07/28 09:43:30 is Exp $
|
||||
.\" $NetBSD: send.2,v 1.9 1998/07/29 02:11:35 thorpej Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -155,6 +155,9 @@ The SO_BROADCAST option is not set on the socket, and a broadcast address
|
|||
was given as the destination.
|
||||
.It Bq Er EHOSTUNREACH
|
||||
The destination for the message is unreachable.
|
||||
.It Bq Er EINVAL
|
||||
The total length of the I/O is more than can be expressed by the ssize_t
|
||||
return value.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr fcntl 2 ,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: write.2,v 1.9 1998/07/28 09:43:31 is Exp $
|
||||
.\" $NetBSD: write.2,v 1.10 1998/07/29 02:11:35 thorpej Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -165,6 +165,9 @@ points outside the process's allocated address space.
|
|||
The pointer associated with
|
||||
.Fa d
|
||||
was negative.
|
||||
.It Bq Er EINVAL
|
||||
The total length of the I/O is more than can be expressed by the ssize_t
|
||||
return value.
|
||||
.It Bq Er ENOSPC
|
||||
There is no free space remaining on the file system
|
||||
containing the file.
|
||||
|
|
Loading…
Reference in New Issue