You are viewing the version of this documentation from Perl 5.16.0. View the latest version
semget KEY,NSEMS,FLAGS

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

Portability issues: "semget" in perlport.