diff options
author | 2017-10-05 12:30:16 +0000 | |
---|---|---|
committer | 2017-10-05 12:30:16 +0000 | |
commit | 574df121b0b3a2857220c67b3b9c31dfdc57951c (patch) | |
tree | 2e6e14e3a4eeba0976676970b8a66bc8131d0233 /lib/libc/sys/connect.2 | |
parent | Sync with libc malloc, doing delayed free double-free check always (diff) | |
download | wireguard-openbsd-574df121b0b3a2857220c67b3b9c31dfdc57951c.tar.xz wireguard-openbsd-574df121b0b3a2857220c67b3b9c31dfdc57951c.zip |
Document that connect(2) and sendto(2) may return with errno
EADDRNOTAVAIL if local address is not available.
OK deraadt@ millert@
Diffstat (limited to 'lib/libc/sys/connect.2')
-rw-r--r-- | lib/libc/sys/connect.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index cb862b7fe35..746d807fd81 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: connect.2,v 1.32 2017/03/02 22:12:02 benno Exp $ +.\" $OpenBSD: connect.2,v 1.33 2017/10/05 12:30:16 bluhm Exp $ .\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $ .\" .\" Copyright (c) 1983, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: March 2 2017 $ +.Dd $Mdocdate: October 5 2017 $ .Dt CONNECT 2 .Os .Sh NAME @@ -162,7 +162,7 @@ is not a valid descriptor. .Fa s is not a socket. .It Bq Er EADDRNOTAVAIL -The specified address is not available on this machine. +No suitable address is available on the local machine. .It Bq Er EAFNOSUPPORT Addresses in the specified address family cannot be used with this socket. .It Bq Er EISCONN |