Next: shmctl, Previous: shm_unlink, Up: Function Substitutes [Contents][Index]
shmat
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/shmat.html
Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
shmat
into a previously malloc-ed region fail on SunOS 4,
with errno
set to EINVAL
, even if there is an munmap
call
in between.
SHM_REMAP
is needed in order to force shmat
to replace existing memory mappings in the specify address range. On other
platforms, it is not needed.