summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-17 03:31:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-17 03:31:09 +0000
commit9094e8495bc69620e8a25405a9e2f38d813db1c9 (patch)
tree68fef04f31aae8b905d77a1eb4954f6baa2e4d27 /lib/libc/sys
parent3ca6ba1f90545954912c42848dfef76fbdbbb749 (diff)
more errno values are possible; jon@oaktree.co.uk
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/send.220
1 files changed, 17 insertions, 3 deletions
diff --git a/lib/libc/sys/send.2 b/lib/libc/sys/send.2
index f318bacc040..c24630c3284 100644
--- a/lib/libc/sys/send.2
+++ b/lib/libc/sys/send.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: send.2,v 1.11 1999/02/15 21:28:23 millert Exp $
+.\" $OpenBSD: send.2,v 1.12 1999/02/17 03:31:08 deraadt Exp $
.\" $NetBSD: send.2,v 1.6 1996/01/15 01:17:18 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -158,13 +158,27 @@ The destination address specified an unreachable host.
The
.Fa flags
parameter is invalid.
+.It Bq Er EHOSTDOWN
+The destination address specified a host that is down.
+.It Bq Er ENETDOWN
+The destination address specified a network that is down.
+.It Bq Er ECONNREFUSED
+The destination host rejected the message (or a previous one). This error
+can only be returned by connected sockets.
+.It Bq Er ENOPROTOOPT
+There was a problem sending the message. This error can only be returned by
+connected sockets.
+.It Bq Er EDESTADDRREQ
+The socket is not connected, and no destination address was specified.
+.It Bq Er EISCONN
+The socket is already connected, and a destination address was specified.
.El
.Pp
In addition,
.Fn send
and
.Fn sendto
-may return following error:
+may return the following error:
.Bl -tag -width Er
.It Bq Er EINVAL
.Fa len
@@ -174,7 +188,7 @@ was larger than
.Pp
Also,
.Fn sendmsg
-may return following errors:
+may return the following errors:
.Bl -tag -width Er
.It Bq Er EINVAL
The sum of the