6b4d69fb616c5446f39c4c7299b302cc0285fef9
[gnulib.git] / doc / posix-functions / openat.texi
1 @node openat
2 @section @code{openat}
3 @findex openat
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/openat.html}
6
7 Gnulib module: openat
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 glibc 2.3.6, MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX
14 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
15 But the replacement function is not safe to be used in libraries and is not multithread-safe.
16 @item
17 On platforms where @code{off_t} is a 32-bit type, @code{open} may not work
18 correctly with files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
19 @item
20 This function does not fail when the file name argument ends in a slash
21 and (without the slash) names a nonexistent file or a file that is not a
22 directory, on some platforms:
23 Solaris 9.
24 @end itemize
25
26 Portability problems not fixed by Gnulib:
27 @itemize
28 @end itemize