呼叫 System V IPC 函式 shmget。傳回共享記憶體區段 ID,或在發生錯誤時傳回 undef。另請參閱 "SysV IPC" in perlipc 和 IPC::SysV 的文件。
undef
IPC::SysV
移植性問題:"shmget" in perlport。