mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
semget(2): Add missing [EINVAL] conditions.
PR: 206927
This commit is contained in:
parent
71b7fa1252
commit
9ef7a36255
1 changed files with 12 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue