Calls the System V IPC function semget(2). Returns the semaphore id, or the undefined value if there is an error. See also "SysV IPC" in perlipc, IPC::SysV, IPC::SysV::Semaphore documentation.
IPC::SysV
IPC::SysV::Semaphore