Next: opendir, Previous: open, Up: Function Substitutes [Contents][Index]
openat
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/openat.html
Gnulib module: openat
Portability problems fixed by Gnulib:
off_t
is a 32-bit type, open
may not work
correctly with files larger than 2 GB. (Cf. AC_SYS_LARGEFILE
.)
Portability problems not fixed by Gnulib:
openat (fd, "symlink", O_NOFOLLOW ...)
fails with errno
set to EMLINK
instead of the POSIX-required ELOOP
on
some platforms:
FreeBSD 10.1.
openat (fd, "symlink", O_NOFOLLOW ...)
fails with errno
set to EFTYPE
instead of the POSIX-required ELOOP
on
some platforms:
NetBSD 6.1.