poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / fchmodat.texi
blob10821b63e5e4ad2df6f12842d74091c82072c89a
1 @node fchmodat
2 @section @code{fchmodat}
3 @findex fchmodat
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/fchmodat.html}
7 Gnulib module: fchmodat
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 glibc 2.3.6, Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8,
14 AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.5.x, mingw, MSVC 14.
15 But the replacement function is not safe to be used in libraries and is not multithread-safe.
16 @item
17 When given the @code{AT_SYMLINK_NOFOLLOW} flag,
18 this function fails with @code{errno} set to @code{ENOTSUP},
19 even when the file is not a symbolic link:
20 GNU/Linux with glibc 2.31, Cygwin 2.9.
21 @end itemize
23 Portability problems not fixed by Gnulib:
24 @itemize
25 @item
26 Some platforms do not allow changing the access bits on symbolic
27 links.
29 @item
30 If the @code{AT_SYMLINK_NOFOLLOW} flag is specified,
31 this function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE},
32 and it fails with @code{errno} set to @code{EOPNOTSUPP} if the
33 @file{/proc} file system is not mounted:
34 GNU/Linux with glibc 2.32.
35 @end itemize