summaryrefslogtreecommitdiff
path: root/modules/linkat
blob: fea65dbd9d1c2a025046d196a55cf3754f7a9993 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Description:
linkat() function: create a hard link, relative to two directories

Files:
lib/at-func2.c
lib/linkat.c
m4/linkat.m4

Depends-on:
unistd
extensions
areadlink        [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
at-internal      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
dirname-lgpl     [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
eloop-threshold  [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
errno            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
fcntl-h          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
filenamecat-lgpl [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
filename         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
free-posix       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
fstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
getcwd-lgpl      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
link-follow      [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
link             [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
lstat            [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
openat-die       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
openat-h         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
same-inode       [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
save-cwd         [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
stat             [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
symlink          [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1]
areadlinkat      [test $REPLACE_LINKAT = 1]
fstatat          [test $REPLACE_LINKAT = 1]

configure.ac:
gl_FUNC_LINKAT
gl_CONDITIONAL([GL_COND_OBJ_LINKAT],
               [test $HAVE_LINKAT = 0 || test $REPLACE_LINKAT = 1])
AM_COND_IF([GL_COND_OBJ_LINKAT], [
  AC_LIBOBJ([at-func2])
])
gl_UNISTD_MODULE_INDICATOR([linkat])

Makefile.am:
if GL_COND_OBJ_LINKAT
lib_SOURCES += linkat.c
endif

Include:
<fcntl.h>
<unistd.h>

License:
GPL

Maintainer:
Jim Meyering, Eric Blake