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

Programming Perl

Programming PerlSearch this book
Previous: 3.2.136 semctl Chapter 3
Functions
Next: 3.2.138 semop
 

3.2.137 semget

semget 

KEY

, 

NSEMS

, 

SIZE

, 

FLAGS

This function calls the System V IPC system call semget (2). The function returns the semaphore 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 "sem.ph";

This function is available only on machines supporting System V IPC.


Previous: 3.2.136 semctl Programming Perl Next: 3.2.138 semop
3.2.136 semctl Book Index 3.2.138 semop