diff options
author | 1999-05-11 02:45:17 +0000 | |
---|---|---|
committer | 1999-05-11 02:45:17 +0000 | |
commit | 7084f9fecae043db8d1a8739adb6bc600e68576c (patch) | |
tree | e2ca7c5de25ddd5bfe8fa7fc284d1876ba61e324 /lib/libc | |
parent | note that close(2)'ing any file descriptor which refers to a file holding (diff) | |
download | wireguard-openbsd-7084f9fecae043db8d1a8739adb6bc600e68576c.tar.xz wireguard-openbsd-7084f9fecae043db8d1a8739adb6bc600e68576c.zip |
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.2 | 8 |
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 |