Hash :
eea9688d
Author :
Date :
2022-03-09T13:54:53
statat: now obsolete * lib/openat.h (statat, lstatat): Now deprecated. All uses removed, and replaced with fstatat. * modules/statat: Mark as obsolete, because it’s confusing: it’s not clear whether it should use AT_NO_AUTOMOUNT, which is implied by stat and by lstat, but not by fstatat. * tests/test-statat.c: Disable deprecated-declarations warnings.
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
Description:
fchownat() function: Change the owner of a file at a directory.
Files:
lib/fchownat.c
lib/at-func.c
m4/fchownat.m4
Depends-on:
unistd
extensions
at-internal [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
errno [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
extern-inline [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
fchdir [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
fcntl-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
filename [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
lchown [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
openat-die [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
openat-h [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
save-cwd [test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1]
configure.ac:
gl_FUNC_FCHOWNAT
gl_CONDITIONAL([GL_COND_OBJ_FCHOWNAT],
[test $HAVE_FCHOWNAT = 0 || test $REPLACE_FCHOWNAT = 1])
gl_UNISTD_MODULE_INDICATOR([fchownat])
Makefile.am:
if GL_COND_OBJ_FCHOWNAT
lib_SOURCES += fchownat.c
endif
Include:
<unistd.h>
License:
GPL
Maintainer:
Jim Meyering, Eric Blake, Paul Eggert