# phpman > perldoc > msgget

    msgget KEY,FLAGS
            Calls the System V IPC function [msgget(2)](https://www.chedong.com/phpMan.php/man/msgget/2/markdown). Returns the message
            queue 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)" and "[IPC::Msg](https://www.chedong.com/phpMan.php/perldoc/IPC%3A%3AMsg/markdown)".

            Portability issues: "msgget" in perlport.

