Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: msgctlChapter 5
Function Reference
Next: Reference: msgrcv
 

msgget

msgget key, flags

Calls the System V IPC msgget system call. See the msgget documentation on your system for details. The function returns the message queue ID, or the undefined value if there is an error. On error, it puts the error code into $!. Before calling, you should say:

require "ipc.ph";
require "msg.ph";
This function is available only on machines supporting System V IPC.


Previous: Reference: msgctlPerl in a NutshellNext: Reference: msgrcv
Reference: msgctlBook IndexReference: msgrcv