ebcb50961a2baa4f41d69b2153faec1bed42ea73
[gnulib.git] / doc / posix-functions / shmat.texi
1 @node shmat
2 @section @code{shmat}
3 @findex shmat
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/shmat.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function is missing on some platforms:
17 mingw, BeOS.
18 @item
19 Attempts to @code{shmat} into a previously malloc-ed region fail on SunOS 4,
20 with @code{errno} set to @code{EINVAL}, even if there is an @code{munmap} call
21 in between.
22 @item
23 On Linux, the flag @code{SHM_REMAP} is needed in order to force @code{shmat}
24 to replace existing memory mappings in the specify address range.  On other
25 platforms, it is not needed.
26 @end itemize