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