PATH:
usr
/
include
/* Copyright (C) 1992-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ /* * X/Open Portability Guide 4.2: ftw.h */ #ifndef _FTW_H #define _FTW_H 1 #include <features.h> #include <sys/types.h> #include <sys/stat.h> __BEGIN_DECLS /* Values for the FLAG argument to the user function passed to `ftw' and 'nftw'. */ enum { FTW_F, /* Regular file. */ #define FTW_F FTW_F FTW_D, /* Directory. */ #define FTW_D FTW_D FTW_DNR, /* Unreadable directory. */ #define FTW_DNR FTW_DNR FTW_NS, /* Unstatable file. */ #define FTW_NS FTW_NS #if defined __USE_MISC || defined __USE_XOPEN_EXTENDED FTW_SL, /* Symbolic link. */ # define FTW_SL FTW_SL #endif #ifdef __USE_XOPEN_EXTENDED /* These flags are only passed from the `nftw' function. */ FTW_DP, /* Directory, all subdirs have been visited. */ # define FTW_DP FTW_DP FTW_SLN /* Symbolic link naming non-existing file. */ # define FTW_SLN FTW_SLN #endif /* extended X/Open */ }; #ifdef __USE_XOPEN_EXTENDED /* Flags for fourth argument of `nftw'. */ enum { FTW_PHYS = 1, /* Perform physical walk, ignore symlinks. */ # define FTW_PHYS FTW_PHYS FTW_MOUNT = 2, /* Report only files on same file system as the argument. */ # define FTW_MOUNT FTW_MOUNT FTW_CHDIR = 4, /* Change to current directory while processing it. */ # define FTW_CHDIR FTW_CHDIR FTW_DEPTH = 8 /* Report files in directory before directory itself.*/ # define FTW_DEPTH FTW_DEPTH # ifdef __USE_GNU , FTW_ACTIONRETVAL = 16 /* Assume callback to return FTW_* values instead of zero to continue and non-zero to terminate. */ # define FTW_ACTIONRETVAL FTW_ACTIONRETVAL # endif }; #ifdef __USE_GNU /* Return values from callback functions. */ enum { FTW_CONTINUE = 0, /* Continue with next sibling or for FTW_D with the first child. */ # define FTW_CONTINUE FTW_CONTINUE FTW_STOP = 1, /* Return from `ftw' or `nftw' with FTW_STOP as return value. */ # define FTW_STOP FTW_STOP FTW_SKIP_SUBTREE = 2, /* Only meaningful for FTW_D: Don't walk through the subtree, instead just continue with its next sibling. */ # define FTW_SKIP_SUBTREE FTW_SKIP_SUBTREE FTW_SKIP_SIBLINGS = 3,/* Continue with FTW_DP callback for current directory (if FTW_DEPTH) and then its siblings. */ # define FTW_SKIP_SIBLINGS FTW_SKIP_SIBLINGS }; #endif /* Structure used for fourth argument to callback function for `nftw'. */ struct FTW { int base; int level; }; #endif /* extended X/Open */ /* Convenient types for callback functions. */ typedef int (*__ftw_func_t) (const char *__filename, const struct stat *__status, int __flag); #ifdef __USE_LARGEFILE64 typedef int (*__ftw64_func_t) (const char *__filename, const struct stat64 *__status, int __flag); #endif #ifdef __USE_XOPEN_EXTENDED typedef int (*__nftw_func_t) (const char *__filename, const struct stat *__status, int __flag, struct FTW *__info); # ifdef __USE_LARGEFILE64 typedef int (*__nftw64_func_t) (const char *__filename, const struct stat64 *__status, int __flag, struct FTW *__info); # endif #endif /* Call a function on every element in a directory tree. This function is a possible cancellation point and therefore not marked with __THROW. */ #ifndef __USE_FILE_OFFSET64 extern int ftw (const char *__dir, __ftw_func_t __func, int __descriptors) __nonnull ((1, 2)); #else # ifdef __REDIRECT # ifndef __USE_TIME_BITS64 extern int __REDIRECT (ftw, (const char *__dir, __ftw_func_t __func, int __descriptors), ftw64) __nonnull ((1, 2)); # else extern int __REDIRECT (ftw, (const char *__dir, __ftw_func_t __func, int __descriptors), __ftw64_time64) __nonnull ((1, 2)); # endif # else # ifndef __USE_TIME_BITS64 # define ftw ftw64 # else # define ftw __ftw64_time64 # endif # endif #endif #ifdef __USE_LARGEFILE64 # ifndef __USE_TIME_BITS64 extern int ftw64 (const char *__dir, __ftw64_func_t __func, int __descriptors) __nonnull ((1, 2)); # else # ifdef __REDIRECT extern int __REDIRECT (ftw64, (const char *__dir, __ftw64_func_t __func, int __descriptors), __ftw64_time64) __nonnull ((1, 2)); # else # define nftw64 __nftw64_time64 # endif # endif #endif #ifdef __USE_XOPEN_EXTENDED /* Call a function on every element in a directory tree. FLAG allows to specify the behaviour more detailed. This function is a possible cancellation point and therefore not marked with __THROW. */ # ifndef __USE_FILE_OFFSET64 extern int nftw (const char *__dir, __nftw_func_t __func, int __descriptors, int __flag) __nonnull ((1, 2)); # else # ifdef __REDIRECT # ifndef __USE_TIME_BITS64 extern int __REDIRECT (nftw, (const char *__dir, __nftw_func_t __func, int __descriptors, int __flag), nftw64) __nonnull ((1, 2)); # else extern int __REDIRECT (nftw, (const char *__dir, __nftw_func_t __func, int __descriptors, int __flag), __nftw64_time64) __nonnull ((1, 2)); # endif # else # ifndef __USE_TIME_BITS64 # define nftw nftw64 # else # define nftw __nftw64_time64 # endif # endif # endif # ifdef __USE_LARGEFILE64 # ifndef __USE_TIME_BITS64 extern int nftw64 (const char *__dir, __nftw64_func_t __func, int __descriptors, int __flag) __nonnull ((1, 2)); # else # ifdef __REDIRECT extern int __REDIRECT (nftw64, (const char *__dir, __nftw64_func_t __func, int __descriptors, int __flag), __nftw64_time64) __nonnull ((1, 2)); # else # define nftw64 __nftw64_time64 # endif # endif # endif #endif __END_DECLS #endif /* ftw.h */
[+]
..
[-] iconv.h
[edit]
[-] evrpc.h
[edit]
[+]
gnu
[-] expat_config.h
[edit]
[-] ctype.h
[edit]
[-] limits.h
[edit]
[-] tar.h
[edit]
[-] evdns.h
[edit]
[-] mcheck.h
[edit]
[+]
libxslt
[-] utmp.h
[edit]
[-] printf.h
[edit]
[-] term.h
[edit]
[+]
gssrpc
[-] time.h
[edit]
[-] nl_types.h
[edit]
[-] gdfontl.h
[edit]
[+]
netipx
[+]
asm-generic
[-] termios.h
[edit]
[-] gd.h
[edit]
[-] pcre2.h
[edit]
[+]
fontconfig
[-] gpg-error.h
[edit]
[-] ftw.h
[edit]
[+]
c++
[-] maxminddb_config-64.h
[edit]
[-] features-time64.h
[edit]
[-] cpuidle.h
[edit]
[-] event.h
[edit]
[-] gnu-versions.h
[edit]
[+]
asm
[-] png.h
[edit]
[-] krb5.h
[edit]
[-] pcre_scanner.h
[edit]
[-] fts.h
[edit]
[-] threads.h
[edit]
[+]
gssapi
[-] jpeglib.h
[edit]
[-] utmpx.h
[edit]
[+]
sound
[-] complex.h
[edit]
[-] err.h
[edit]
[-] strings.h
[edit]
[-] pcrecpparg.h
[edit]
[-] spawn.h
[edit]
[+]
finclude
[-] panel.h
[edit]
[-] fmtmsg.h
[edit]
[+]
xcb
[+]
brotli
[-] tiffio.hxx
[edit]
[-] verto-module.h
[edit]
[-] idna.h
[edit]
[-] jconfig.h
[edit]
[-] tld.h
[edit]
[+]
rpc
[+]
netinet
[-] maxminddb.h
[edit]
[+]
drm
[-] thread_db.h
[edit]
[+]
neteconet
[-] autosprintf.h
[edit]
[+]
google
[-] dlfcn.h
[edit]
[-] ncurses_dll.h
[edit]
[-] tiff.h
[edit]
[+]
ext2fs
[-] monetary.h
[edit]
[-] gdfontt.h
[edit]
[-] wait.h
[edit]
[-] keyutils.h
[edit]
[+]
sepol
[-] sgtty.h
[edit]
[-] jerror.h
[edit]
[-] form.h
[edit]
[-] assert.h
[edit]
[-] tic.h
[edit]
[-] mntent.h
[edit]
[-] cursesm.h
[edit]
[-] stdio.h
[edit]
[-] error.h
[edit]
[-] execinfo.h
[edit]
[-] ieee754.h
[edit]
[-] menu.h
[edit]
[-] cursesp.h
[edit]
[+]
libmount
[-] ltdl.h
[edit]
[-] cursesw.h
[edit]
[-] jpegint.h
[edit]
[-] entities.h
[edit]
[+]
rdma
[-] lzma.h
[edit]
[-] zlib.h
[edit]
[-] pwd.h
[edit]
[+]
nfs
[+]
python3.9
[-] nc_tparm.h
[edit]
[-] gdfontg.h
[edit]
[-] gconv.h
[edit]
[-] termcap.h
[edit]
[-] etip.h
[edit]
[+]
libltdl
[+]
et
[+]
protobuf-c
[+]
bits
[+]
net
[-] ttyent.h
[edit]
[-] inttypes.h
[edit]
[-] nss.h
[edit]
[-] semaphore.h
[edit]
[-] kdb.h
[edit]
[+]
arpa
[-] alloca.h
[edit]
[-] ucontext.h
[edit]
[-] tgmath.h
[edit]
[-] tiffvers.h
[edit]
[-] fenv.h
[edit]
[-] gdfonts.h
[edit]
[-] string.h
[edit]
[-] ffitarget.h
[edit]
[-] lmdb.h
[edit]
[-] fpu_control.h
[edit]
[+]
unicode
[-] byteswap.h
[edit]
[-] setjmp.h
[edit]
[+]
sys
[-] pr29.h
[edit]
[-] zconf.h
[edit]
[-] stdint.h
[edit]
[-] errno.h
[edit]
[-] mqueue.h
[edit]
[-] evutil.h
[edit]
[+]
harfbuzz
[-] ffi-x86_64.h
[edit]
[-] grp.h
[edit]
[-] gdfontmb.h
[edit]
[-] stdc-predef.h
[edit]
[-] malloc.h
[edit]
[-] tiffconf.h
[edit]
[-] pnglibconf.h
[edit]
[-] tiffconf-64.h
[edit]
[-] resolv.h
[edit]
[-] FlexLexer.h
[edit]
[-] punycode.h
[edit]
[+]
blkid
[-] glob.h
[edit]
[-] unctrl.h
[edit]
[-] regex.h
[edit]
[+]
xen
[-] signal.h
[edit]
[+]
netrose
[+]
openssl
[-] ifaddrs.h
[edit]
[-] unistd.h
[edit]
[-] gssapi.h
[edit]
[+]
misc
[-] ffi.h
[edit]
[+]
kadm5
[+]
freetype2
[+]
video
[-] tiffio.h
[edit]
[-] wchar.h
[edit]
[-] elf.h
[edit]
[-] ncurses.h
[edit]
[-] proc_service.h
[edit]
[-] uchar.h
[edit]
[-] gdbm.h
[edit]
[-] langinfo.h
[edit]
[-] pcre.h
[edit]
[+]
webp
[-] values.h
[edit]
[+]
libexslt
[-] jconfig-64.h
[edit]
[-] netdb.h
[edit]
[-] cpio.h
[edit]
[-] libaio.h
[edit]
[-] powercap.h
[edit]
[-] dbm.h
[edit]
[-] pngconf.h
[edit]
[+]
netpacket
[-] cursslk.h
[edit]
[-] link.h
[edit]
[+]
security
[-] lastlog.h
[edit]
[-] wordexp.h
[edit]
[-] gd_io.h
[edit]
[+]
X11
[-] verto.h
[edit]
[-] curses.h
[edit]
[-] wctype.h
[edit]
[+]
netax25
[-] libintl.h
[edit]
[-] gettext-po.h
[edit]
[+]
netrom
[-] stringprep.h
[edit]
[-] argp.h
[edit]
[+]
lzma
[-] ulimit.h
[edit]
[+]
fwctl
[-] gnumake.h
[edit]
[-] krad.h
[edit]
[-] pcre_stringpiece.h
[edit]
[-] expat_external.h
[edit]
[-] shadow.h
[edit]
[-] expat.h
[edit]
[+]
pcp
[-] ar.h
[edit]
[-] endian.h
[edit]
[+]
gdbm
[-] fstab.h
[edit]
[-] envz.h
[edit]
[-] pty.h
[edit]
[-] eti.h
[edit]
[-] paths.h
[edit]
[-] argz.h
[edit]
[-] math.h
[edit]
[-] getopt.h
[edit]
[-] gpgrt.h
[edit]
[+]
ncurses
[-] gdcache.h
[edit]
[-] fstrm.h
[edit]
[-] obstack.h
[edit]
[-] maxminddb_config.h
[edit]
[+]
fstrm
[-] term_entry.h
[edit]
[-] sched.h
[edit]
[-] memory.h
[edit]
[-] gd_color_map.h
[edit]
[-] gdfx.h
[edit]
[+]
mysql
[+]
json-c
[+]
graphite2
[-] locale.h
[edit]
[+]
libxml2
[+]
e2p
[-] com_err.h
[edit]
[-] pcre2posix.h
[edit]
[+]
scsi
[+]
ncursesw
[+]
krb5
[-] gd_errors.h
[edit]
[+]
event2
[-] search.h
[edit]
[-] re_comp.h
[edit]
[-] fnmatch.h
[edit]
[+]
libpng16
[-] ndbm.h
[edit]
[-] syslog.h
[edit]
[-] sysexits.h
[edit]
[+]
netash
[-] cursesf.h
[edit]
[-] pthread.h
[edit]
[+]
linux
[-] pcrecpp.h
[edit]
[-] fcntl.h
[edit]
[-] syscall.h
[edit]
[-] libgen.h
[edit]
[-] ffitarget-x86_64.h
[edit]
[-] features.h
[edit]
[-] a.out.h
[edit]
[+]
glib-2.0
[-] evhttp.h
[edit]
[+]
gio-unix-2.0
[-] idn-free.h
[edit]
[-] gshadow.h
[edit]
[-] stdlib.h
[edit]
[-] dirent.h
[edit]
[-] pcreposix.h
[edit]
[-] crypt.h
[edit]
[+]
selinux
[-] regexp.h
[edit]
[-] aliases.h
[edit]
[-] stdio_ext.h
[edit]
[+]
netatalk
[-] utime.h
[edit]
[-] termio.h
[edit]
[-] poll.h
[edit]
[+]
GL
[+]
sysprof-4
[-] aio.h
[edit]
[-] gdpp.h
[edit]
[+]
mtd
[-] stab.h
[edit]
[-] idn-int.h
[edit]
[-] cursesapp.h
[edit]
[-] profile.h
[edit]
[-] jmorecfg.h
[edit]
[+]
bind9
[+]
protocols
[+]
netiucv
[-] bzlib.h
[edit]