2 fchdir() function: change current directory, given an open file descriptor.
22 gl_UNISTD_MODULE_INDICATOR([fchdir])
25 BUILT_SOURCES += $(DIRENT_H)
27 # We need the following in order to create <dirent.h> when the system
28 # doesn't have one that works with the given compiler.
31 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
32 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
33 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
34 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
35 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
36 < $(srcdir)/dirent.in.h; \
39 MOSTLYCLEANFILES += dirent.h dirent.h-t