February 2012
Intermediate to advanced
1184 pages
37h 17m
English
shmwriteID,STRING,POS,SIZE
This function writes to the shared memory segment
ID starting at position
POS for size SIZE
(by attaching to it, copying in, and detaching from it). If
STRING is too long, only
SIZE bytes are used; if
STRING is too short, nulls are written to
fill out SIZE bytes. The function returns
true if successful, or false if there is an error.
This function is available only on machines supporting System V IPC. (You’re probably tired of reading that—we’re getting tired of saying it.)
Read now
Unlock full access