# phpman > perldoc > msgsnd

    msgsnd ID,MSG,FLAGS
            Calls the System V IPC function msgsnd to send the message MSG
            to the message queue ID. MSG must begin with the native long
            integer message type, followed by the message itself. This kind
            of packing can be achieved with "pack("l! a*", $type,
            $message)". Returns true if successful, false 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: "msgsnd" in perlport.

