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

Programming Perl

Programming PerlSearch this book
Previous: 3.2.145 shmget Chapter 3
Functions
Next: 3.2.147 shmwrite
 

3.2.146 shmread

shmread 

ID

, 

VAR

, 

POS

, 

SIZE

This function reads from the shared memory segment ID starting at position POS for size SIZE (by attaching to it, copying out, and detaching from it). VAR must be a variable that will hold the data read. The function returns true if successful, or false if there is an error. On error, it puts the error code into $! . This function is available only on machines supporting System V IPC.


Previous: 3.2.145 shmget Programming Perl Next: 3.2.147 shmwrite
3.2.145 shmget Book Index 3.2.147 shmwrite