diff options
author | pluknet <pluknet@FreeBSD.org> | 2014-06-26 10:21:00 +0000 |
---|---|---|
committer | pluknet <pluknet@FreeBSD.org> | 2014-06-26 10:21:00 +0000 |
commit | bc3192adcbe600d370117ad8ab68301220f77288 (patch) | |
tree | a9ff9712a190245d93cbceaead23cbc64218f864 /lib/libc/sys/connect.2 | |
parent | 3fa0a3d2c654598d2bf79da4ab050939228972be (diff) | |
download | FreeBSD-src-bc3192adcbe600d370117ad8ab68301220f77288.zip FreeBSD-src-bc3192adcbe600d370117ad8ab68301220f77288.tar.gz |
Document EINVAL as per POSIX.
This also follows r124335-r124336, r225827.
PR: 191382
MFC after: 1 week
Sponsored by: Nginx, Inc.
Diffstat (limited to 'lib/libc/sys/connect.2')
-rw-r--r-- | lib/libc/sys/connect.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index ac019e8..8ed3f12 100644 --- a/lib/libc/sys/connect.2 +++ b/lib/libc/sys/connect.2 @@ -28,7 +28,7 @@ .\" @(#)connect.2 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd September 5, 2010 +.Dd June 26, 2014 .Dt CONNECT 2 .Os .Sh NAME @@ -80,6 +80,10 @@ The .Fa s argument is not a valid descriptor. +.It Bq Er EINVAL +The +.Fa namelen +argument is not a valid length for the address family. .It Bq Er ENOTSOCK The .Fa s |