view modules/stat @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
parents e8cf9220814a
children
line wrap: on
line source

Description:
stat() function: query file information

Files:
lib/stat.c
lib/stat-w32.h
lib/stat-w32.c
m4/stat.m4

Depends-on:
sys_stat
largefile
filename        [test $REPLACE_STAT = 1]
malloca         [test $REPLACE_STAT = 1]
pathmax         [test $REPLACE_STAT = 1]
stat-time       [test $REPLACE_STAT = 1]
stdbool         [test $REPLACE_STAT = 1]
verify          [test $REPLACE_STAT = 1]

configure.ac:
gl_FUNC_STAT
if test $REPLACE_STAT = 1; then
  AC_LIBOBJ([stat])
  case "$host_os" in
    mingw*)
      AC_LIBOBJ([stat-w32])
      ;;
  esac
  gl_PREREQ_STAT
fi
gl_SYS_STAT_MODULE_INDICATOR([stat])

Makefile.am:

Include:
<sys/stat.h>

License:
LGPLv2+

Maintainer:
Eric Blake