poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / symlinkat.texi
blobc013030e3aa5c449280246da8d0f3190cadfa9fe
1 @node symlinkat
2 @section @code{symlinkat}
3 @findex symlinkat
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/symlinkat.html}
7 Gnulib module: symlinkat
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, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.5.x, mingw, MSVC 14, Android 4.4.
14 But the replacement function is not safe to be used in libraries and is not multithread-safe.
15 @item
16 Some platforms declare this function in @code{stdio.h} instead of
17 @code{unistd.h}:
18 Cygwin 1.7.1.
19 @item
20 On some systems, @code{symlinkat(value, fd, "name/")} mistakenly creates a
21 symlink:
22 Mac OS X 10.13, AIX 7.1.
23 @end itemize
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @item
28 This function always fails with @samp{ENOSYS} on platforms that don't
29 support symlinks:
30 mingw, MSVC 14.
31 @end itemize