xstrtol: improve xstrtol.h comment
[gnulib.git] / modules / sys_stat
blob233224e835d143c4864558ffe88a6083c00226fb
1 Description:
2 A <sys/stat.h> for systems with missing declarations.
4 Files:
5 lib/sys_stat.in.h
6 m4/sys_stat_h.m4
7 m4/unistd_h.m4
8 m4/pid_t.m4
10 Depends-on:
11 gen-header
12 include_next
13 snippet/arg-nonnull
14 snippet/c++defs
15 snippet/warn-on-use
16 sys_types
17 time-h
19 configure.ac:
20 gl_SYS_STAT_H
21 gl_SYS_STAT_H_REQUIRE_DEFAULTS
22 AC_PROG_MKDIR_P
24 Makefile.am:
25 BUILT_SOURCES += sys/stat.h
27 # We need the following in order to create <sys/stat.h> when the system
28 # has one that is incomplete.
29 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
30         $(AM_V_GEN)$(MKDIR_P) '%reldir%/sys'
31         $(AM_V_at)$(SED_HEADER_STDOUT) \
32               -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
33               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
34               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
35               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
36               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
37               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
38               -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \
39               -e 's/@''GNULIB_CHMOD''@/$(GNULIB_CHMOD)/g' \
40               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
41               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
42               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
43               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
44               -e 's/@''GNULIB_GETUMASK''@/$(GNULIB_GETUMASK)/g' \
45               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
46               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
47               -e 's/@''GNULIB_MKDIR''@/$(GNULIB_MKDIR)/g' \
48               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
49               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
50               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
51               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
52               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
53               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
54               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
55               -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \
56               -e 's/@''GNULIB_MDA_CHMOD''@/$(GNULIB_MDA_CHMOD)/g' \
57               -e 's/@''GNULIB_MDA_MKDIR''@/$(GNULIB_MDA_MKDIR)/g' \
58               -e 's/@''GNULIB_MDA_UMASK''@/$(GNULIB_MDA_UMASK)/g' \
59               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
60               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
61               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
62               -e 's|@''HAVE_GETUMASK''@|$(HAVE_GETUMASK)|g' \
63               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
64               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
65               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
66               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
67               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
68               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
69               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
70               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
71               -e 's|@''REPLACE_CHMOD''@|$(REPLACE_CHMOD)|g' \
72               -e 's|@''REPLACE_FCHMODAT''@|$(REPLACE_FCHMODAT)|g' \
73               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
74               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
75               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
76               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
77               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
78               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
79               -e 's|@''REPLACE_MKFIFOAT''@|$(REPLACE_MKFIFOAT)|g' \
80               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
81               -e 's|@''REPLACE_MKNODAT''@|$(REPLACE_MKNODAT)|g' \
82               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
83               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
84               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
85               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
86               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
87               $(srcdir)/sys_stat.in.h > $@-t
88         $(AM_V_at)mv $@-t $@
89 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
90 MOSTLYCLEANDIRS += sys
92 Include:
93 <sys/stat.h>
95 License:
96 LGPLv2+
98 Maintainer:
99 all