summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-11 02:45:18 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-11 02:45:18 +0000
commit1ae0ea73b12f729f945a9d12bfba1315ad46c7dc (patch)
tree7122e629fe6e338435669ddbdb048bdc0d4ec6d9 /lib/libc
parent06e6e7efcd69f7d3e17f7bbaf37d2d4cff8df36e (diff)
writev(2) may return EDESTADDRREQ if a write is attempted to a connect(2)'d
uipc domain socket and the destination set by connect(2) is no longer available; from FreeBSD
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/write.28
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index dfe8350fa1d..443a0814b4d 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.9 1999/02/27 21:57:02 deraadt Exp $
+.\" $OpenBSD: write.2,v 1.10 1999/05/11 02:45:17 aaron Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -191,6 +191,12 @@ Also,
.Fn writev
may return one of the following errors:
.Bl -tag -width Er
+.It Bq Er EDESTADDRREQ
+The destination is no longer available when writing to a
+.Ux
+domain datagram socket on which
+.Xr connect 2
+had been used to set a destination address.
.It Bq Er EINVAL
.Fa iovcnt
was less than or equal to 0, or greater than