当前位置: 首页 > 文档资料 > Perl 入门教程 >

msgget

优质
小牛编辑
117浏览
2023-12-01

描述 (Description)

该函数调用System V IPC函数msgget(2)。 返回消息队列标识,如果有错误,则返回未定义的值。

语法 (Syntax)

以下是此函数的简单语法 -

msgget KEY, FLAGS

返回值 (Return Value)

此函数在成功时返回错误和消息队列ID的undef。

<!--

例子 (Example)

Following is the example code showing its basic usage −

When above code is executed, it produces the following result −

-->