summaryrefslogtreecommitdiff
path: root/modules/unlinkat
blob: ed11c1e97118b960e831cdd9e88ba1a13cb5d75b (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
Description:
unlinkat() function: Remove a file at a directory.

Files:
lib/unlinkat.c
lib/at-func.c
m4/unlinkat.m4
m4/lstat.m4

Depends-on:
unistd
extensions
fcntl-h         [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
openat-h        [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
sys_stat        [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1]
at-internal     [test $HAVE_UNLINKAT = 0]
errno           [test $HAVE_UNLINKAT = 0]
fchdir          [test $HAVE_UNLINKAT = 0]
filename        [test $HAVE_UNLINKAT = 0]
openat-die      [test $HAVE_UNLINKAT = 0]
rmdir           [test $HAVE_UNLINKAT = 0]
save-cwd        [test $HAVE_UNLINKAT = 0]
unlink          [test $HAVE_UNLINKAT = 0]

configure.ac:
gl_FUNC_UNLINKAT
gl_CONDITIONAL([GL_COND_OBJ_UNLINKAT],
               [test $HAVE_UNLINKAT = 0 || test $REPLACE_UNLINKAT = 1])
gl_UNISTD_MODULE_INDICATOR([unlinkat])

Makefile.am:
if GL_COND_OBJ_UNLINKAT
lib_SOURCES += unlinkat.c
endif

Include:
<unistd.h>

License:
GPL

Maintainer:
Jim Meyering, Eric Blake