Perl msgctl Function



Description

This function calls the system function msgctrl( ) with the arguments ID, CMD, and ARG. You may need to include the IPC::SysV package to obtain the correct constants.

Syntax

Following is the simple syntax for this function −

msgctl ID, CMD, ARG

Return Value

This function returns 0 but true if the system function returns 0 and 1 on success.

perl_function_references.htm
Advertisements