Calls the System V IPC function shmget. Returns the shared memory segment id, or undef on error. See also "SysV IPC" in perlipc and the documentation for IPC::SysV.
undef
IPC::SysV
Portability issues: "shmget" in perlport.