strtoumax: fix typo in previous commit.
[gnulib.git] / modules / fcntl-h
1 Description:
2 Like <fcntl.h>, but with non-working flags defined to 0.
3
4 Files:
5 lib/fcntl.in.h
6 m4/fcntl_h.m4
7 m4/fcntl-o.m4
8
9 Depends-on:
10 extensions
11 include_next
12 snippet/arg-nonnull
13 snippet/c++defs
14 snippet/warn-on-use
15 sys_types
16 unistd
17
18 configure.ac:
19 gl_FCNTL_H
20
21 Makefile.am:
22 BUILT_SOURCES += fcntl.h
23
24 # We need the following in order to create <fcntl.h> when the system
25 # doesn't have one that works with the given compiler.
26 fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
27         $(AM_V_GEN)rm -f $@-t $@ && \
28         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
29           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
30               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
31               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
32               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
33               -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \
34               -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \
35               -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \
36               -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \
37               -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \
38               -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \
39               -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \
40               -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \
41               -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \
42               -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \
43               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
44               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
45               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
46               < $(srcdir)/fcntl.in.h; \
47         } > $@-t && \
48         mv $@-t $@
49 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
50
51 Include:
52 <fcntl.h>
53
54 License:
55 LGPLv2+
56
57 Maintainer:
58 all