annotate modules/dirent @ 12422:f7842310a565

New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
author Bruno Haible <bruno@clisp.org>
date Fri, 11 Dec 2009 01:15:28 +0100
parents 481fcf53f002
children cd64e80f94e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <dirent.h>.
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/dirent.in.h
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/dirent_h.m4
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/unistd_h.m4
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 include_next
10663
2b0380d48ff6 Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents: 10659
diff changeset
11 link-warning
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
12 arg-nonnull
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 gl_DIRENT_H
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 Makefile.am:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 BUILT_SOURCES += $(DIRENT_H)
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 # We need the following in order to create <dirent.h> when the system
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # doesn't have one that works with the given compiler.
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
22 dirent.h: dirent.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11039
diff changeset
23 $(AM_V_GEN)rm -f $@-t $@ && \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
10663
2b0380d48ff6 Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents: 10659
diff changeset
28 -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
11934
80567a8f98f8 fdopendir: split into its own module
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
29 -e 's|@''GNULIB_FDOPENDIR''@|$(GNULIB_FDOPENDIR)|g' \
11038
6c37790abb93 New module 'scandir'.
Bruno Haible <bruno@clisp.org>
parents: 10663
diff changeset
30 -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \
11039
8842f30244d1 New module 'alphasort'.
Bruno Haible <bruno@clisp.org>
parents: 11038
diff changeset
31 -e 's|@''GNULIB_ALPHASORT''@|$(GNULIB_ALPHASORT)|g' \
10663
2b0380d48ff6 Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents: 10659
diff changeset
32 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
11934
80567a8f98f8 fdopendir: split into its own module
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
33 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
11038
6c37790abb93 New module 'scandir'.
Bruno Haible <bruno@clisp.org>
parents: 10663
diff changeset
34 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
11039
8842f30244d1 New module 'alphasort'.
Bruno Haible <bruno@clisp.org>
parents: 11038
diff changeset
35 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
11992
a1e0b2efc812 fchdir: improve use of replacement functions
Eric Blake <ebb9@byu.net>
parents: 11934
diff changeset
36 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
12127
bda9467a9d66 fdopendir: fix GNU/Hurd bug
Eric Blake <ebb9@byu.net>
parents: 12008
diff changeset
37 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
11992
a1e0b2efc812 fchdir: improve use of replacement functions
Eric Blake <ebb9@byu.net>
parents: 11934
diff changeset
38 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
10663
2b0380d48ff6 Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents: 10659
diff changeset
39 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
40 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 < $(srcdir)/dirent.in.h; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11039
diff changeset
42 } > $@-t && \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 mv $@-t $@
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 MOSTLYCLEANFILES += dirent.h dirent.h-t
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11992
diff changeset
47 <dirent.h>
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 License:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50 LGPLv2+
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 Maintainer:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53 all