HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)

s
semget(2) semget(2)
[EINVAL] A semaphore identifier exists for key, but the number of semaphores in the set associ-
ated with it is less than nsems, and nsems is not equal to zero.
[ENOENT] A semaphore identifier does not exist for key and (semflg &
IPC_CREAT
)is"false".
[ENOSPC] A semaphore identifier is to be created, but the system-imposed limit on the max-
imum number of allowed semaphore identifiers system wide would be exceeded.
[EEXIST] A semaphore identifier exists for key but
((semflg& IPC_CREAT) && (semflg &
IPC_EXCL))
is "true".
SEE ALSO
ipcrm(1), ipcs(1), semctl(2), semop(2), stdipc(3C).
STANDARDS CONFORMANCE
semget(): SVID2, SVID3, XPG2, XPG3, XPG4
HP-UX 11i Version 2: December 2007 Update 2 Hewlett-Packard Company 355