semget

semget KEY,NSEMS,FLAGS
Calls the System V IPC function semget. Returns the semaphore id, or the undefined value if there is an error. See also perlipc/"SysV IPC", IPC::SysV, IPC::SysV::Semaphore documentation.