# phpman > perldoc > shmget

    shmget KEY,SIZE,FLAGS
            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](https://www.chedong.com/phpMan.php/perldoc/IPC%3A%3ASysV/markdown)".

            Portability issues: "shmget" in perlport.

