basic.%shmat C Function/BASIC Program

basic.%shmat

Command basic.%shmat C Function/BASIC Program
Applicable release versions: AP/Unix
Category BASIC Program (486)
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.
Syntax pointer=(char*)%shmat(shmid, (char*)shmaddr, shmflg)
Options
Example
Purpose
Related basic.%shmdt
basic.cfunc
basic.cfunction
basic.%shmget