link: work around IRIX bug
[gnulib.git] / doc / posix-functions / link.texi
1 @node link
2 @section @code{link}
3 @findex link
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/link.html}
6
7 Gnulib module: link
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw.
14 @item
15 This function fails to reject trailing slashes on non-directories on
16 some platforms:
17 FreeBSD 7.2, Solaris 11 2010-11, Cygwin 1.5.x.
18 @item
19 When the second argument is a dangling symlink, some platforms follow
20 that link and create the destination rather than failing:
21 IRIX 6.5.
22 @end itemize
23
24 Portability problems not fixed by Gnulib:
25 @itemize
26 @item
27 When the first argument is a symlink, some platforms create a
28 hard-link to what the symlink referenced, rather than to the symlink
29 itself.  Use @samp{linkat} to force a particular behavior.
30 @end itemize