diff options
author | gjb <gjb@FreeBSD.org> | 2016-02-08 12:16:01 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-02-08 12:16:01 +0000 |
commit | a44dc347a772a938a3a1e624b4809e7b74f58feb (patch) | |
tree | 06859f2b48e0d90b7e6715c5a5045b4b24de5822 /lib/libc | |
parent | b0e94739464da6f4e73a5f3e80ec779480d16892 (diff) | |
parent | 2ed1e2991e3970aeffef7be33b91401f0aeca84d (diff) | |
download | FreeBSD-src-a44dc347a772a938a3a1e624b4809e7b74f58feb.zip FreeBSD-src-a44dc347a772a938a3a1e624b4809e7b74f58feb.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/connect.2 | 10 | ||||
-rw-r--r-- | lib/libc/sys/semget.2 | 13 |
2 files changed, 21 insertions, 2 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2 index e3e5783..80f4407 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 29, 2014 +.Dd February 4, 2016 .Dt CONNECT 2 .Os .Sh NAME @@ -58,6 +58,14 @@ another socket. The other socket is specified by .Fa name , which is an address in the communications space of the socket. +.Fa namelen +indicates the amount of space pointed to by +.Fa name , +in bytes; the +.Fa sa_len +member of +.Fa name +is ignored. Each communications space interprets the .Fa name argument in its own way. diff --git a/lib/libc/sys/semget.2 b/lib/libc/sys/semget.2 index 945044d..debcf11 100644 --- a/lib/libc/sys/semget.2 +++ b/lib/libc/sys/semget.2 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 12, 1995 +.Dd February 7, 2016 .Dt SEMGET 2 .Os .Sh NAME @@ -132,6 +132,17 @@ already exists. .It Bq Er EINVAL The number of semaphores requested exceeds the system imposed maximum per set. +.It Bq Er EINVAL +A semaphore set corresponding to +.Fa key +already exists and contains fewer semaphores than +.Fa nsems . +.It Bq Er EINVAL +A semaphore set corresponding to +.Fa key +does not exist and +.Fa nsems +is 0 or negative. .It Bq Er ENOSPC Insufficiently many semaphores are available. .It Bq Er ENOSPC |