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

msgctl

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

描述 (Description)

此函数使用参数ID,CMD和ARG调用系统函数msgctrl()。 您可能需要包含IPC :: SysV包以获取正确的常量。

语法 (Syntax)

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

msgctl ID, CMD, ARG

返回值 (Return Value)

此函数返回0,但如果系统函数在成功时返回0和1,则返回true。

<!--

例子 (Example)

Following is the example code showing its basic usage −

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

-->