basic.%shmat
Attaches to a shared memory segment.
Syntax
pointer=(char*)%shmat(shmid, (char*)shmaddr, shmflg)
Description
attaches a shared memory segment associated with the shared memory identifier 'shmid' and returns the address of the segment.
Valid values for 'shmflg' are defined in 'shm.h' and 'ipc.h'. See the Unix Programmer's guide.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
