%shmat() Function

For Windows: Not Supported

The %shmat() function attaches a shared memory segment associated with the shared memory identifier shmid and returns the address of the segment.

Syntax

pointer = (char*)%shmat(shmid, (char*)shmaddr, shmflg)

Description

Valid values for shmflg are defined in shm.h and ipc.h. See the UNIX system documentation.

WARNING

It is strongly advised to use only the form where shmaddr is 0, to let the system select the address.

See Also

%shmdt() Function

%shmget() Function

FlashBASIC C Functions Overview

cfunction Statement