Calls the System V IPC function semget(2). Returns the semaphore id, or the undefined value on error. See also "SysV IPC" in perlipc and the documentation for IPC::SysV and IPC::Semaphore.
IPC::SysV
IPC::Semaphore
Portability issues: "semget" in perlport.