view modules/fstatat @ 16063:c3b6b5b6bc32

More conditional dependencies. * modules/faccessat (Depends-on): Add conditions. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/fstatat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/unlinkat (Depends-on): Likewise. * modules/utimensat (Depends-on): Likewise. * modules/mkdirat (Depends-on): Add sys_stat. Add conditions. * modules/linkat (Depends-on): Refine the conditions. * modules/renameat (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Wed, 09 Nov 2011 02:42:45 +0100
parents 95edb7c8da42
children 592c7f4c8a2a
line wrap: on
line source

Description:
fstatat() function: Return information about a file at a directory.

Files:
lib/fstatat.c
lib/at-func.c
lib/openat-priv.h
m4/fstatat.m4

Depends-on:
sys_stat
extensions
at-internal     [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
dosname         [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
errno           [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
fchdir          [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
fcntl-h         [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
lstat           [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
openat-die      [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
openat-h        [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]
save-cwd        [test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1]

configure.ac:
gl_FUNC_FSTATAT
if test $HAVE_FSTATAT = 0 || test $REPLACE_FSTATAT = 1; then
  AC_LIBOBJ([fstatat])
fi
AC_REQUIRE([AC_C_INLINE]) dnl because 'inline' is used in lib/openat.h
gl_MODULE_INDICATOR([fstatat]) dnl for lib/openat.h
gl_SYS_STAT_MODULE_INDICATOR([fstatat])

Makefile.am:

Include:
<sys/stat.h>

License:
GPL

Maintainer:
Jim Meyering, Eric Blake