Programming Perl

Programming PerlSearch this book
Previous: 3.2.93 msgctlChapter 3
Functions
Next: 3.2.95 msgrcv
 

3.2.94 msgget

msgget KEY, FLAGS

This function calls the System V IPC msgget(2) system call. See msgget(2) 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: 3.2.93 msgctlProgramming PerlNext: 3.2.95 msgrcv
3.2.93 msgctlBook Index3.2.95 msgrcv