summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/link.texi
blob: e65e84f5b8696a7ae4e01c21432a9ad8f98cd183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@node link
@section @code{link}
@findex link

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/link.html}

Gnulib module: link

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
mingw, MSVC 9.
@item
This function fails to reject trailing slashes on non-directories on
some platforms:
FreeBSD 7.2, Solaris 11 2010-11, Cygwin 1.5.x.
@item
When the second argument is a dangling symlink, some platforms follow
that link and create the destination rather than failing:
IRIX 6.5.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
When the first argument is a symlink, some platforms create a
hard-link to what the symlink referenced, rather than to the symlink
itself.  Use @samp{linkat} to force a particular behavior.
@end itemize