September 2001
Intermediate to advanced
768 pages
32h 45m
English
string shmop_read(int shmop_id, int start, int count)
| shmop_id | ID of a shared memory segment |
| start | Byte offset from which to read |
| count | Number of bytes to read |
Reads a string of bytes from a shared memory segment.
Returns:
String from the shared memory segment; FALSE on error
Description:
shmop_read() reads and returns a string from the shared memory segment identified by shmop_id . start gives the offset in bytes from the beginning of the shared memory segment from which to start reading (starting from 0), and count gives the number of bytes to read from that point. If either of these values is out of range, or if shmop_id is not a valid identifier as returned by shmop_open(), shmop_read() returns FALSE.
In order to read all ...
Read now
Unlock full access