summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/shmat.texi
blob: 6ccc3bb5097d53c36c8ee7c8e67bba7e6e43dee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@node shmat
@section @code{shmat}
@findex shmat

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/shmat.html}

Gnulib module: ---

Portability problems fixed by Gnulib:
@itemize
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 9, BeOS.
@item
Attempts to @code{shmat} into a previously malloc-ed region fail on SunOS 4,
with @code{errno} set to @code{EINVAL}, even if there is an @code{munmap} call
in between.
@item
On Linux, the flag @code{SHM_REMAP} is needed in order to force @code{shmat}
to replace existing memory mappings in the specify address range.  On other
platforms, it is not needed.
@end itemize