start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: shmctl Chapter 5
Function Reference
Next: Reference: shmread
 

shmget

shmget 
key
, 
size
, 
flags

Calls the System V IPC system call, shmget(2) . The function returns the shared memory segment 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 "shm.ph";
This function is available only on machines supporting System V IPC.


Previous: Reference: shmctl Perl in a Nutshell Next: Reference: shmread
Reference: shmctl Book Index Reference: shmread