Perl msgctl 函式



說明

此函式使用引數 ID、CMD 和 ARG 呼叫系統函式 msgctrl( )。你可能需要包含 IPC::SysV 程式包以獲取正確的常量。

語法

以下為此函式的簡單語法 -

msgctl ID, CMD, ARG

返回值

此函式返回 0,但如果系統函式返回 0,則為 true,如果成功,則返回 1。

perl_function_references.htm
廣告
© . All rights reserved.