Searched defs:ftw (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dftw.c40 #include <ftw.h>
47 #undef ftw macro
49 #define ftw ftw64 macro
52 #undef ftw macro
53 #pragma weak _ftw = ftw
57 ftw(const char *path, int (*fn)(), int depth) function
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dftw.c34 * ftw - file tree walk
36 * int ftw (path, fn, depth) char *path; int (*fn)(); int depth;
38 * Given a path name, ftw starts from the file given by that path
70 * considered an error and will cause ftw to stop
73 * If fn returns nonzero, ftw stops and returns the same value
74 * to its caller. If ftw gets into other trouble along the way,
77 * The third argument to ftw does not limit the depth to which
78 * ftw will go. Rather, it limits the depth to which ftw will
91 * It is possible for ftw t
108 ftw(path, fn, depth) function
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dftw.c24 * ftw implementation
28 #include <ftw.h>
33 ftw_user(Ftw_t* ftw) argument
35 register int n = ftw->info;
41 return (*ftw_userf)(ftw->path, &ftw->statb, n);
45 ftw(const char* path, int(*userf)(const char*, const struct stat*, int), int depth) function
H A Dnftw.c28 #include <ftw.h>
34 nftw_user(Ftw_t* ftw) argument
36 register int n = ftw->info;
42 else if ((n & FTW_SL) && (!(nftw_flags & FTW_PHYSICAL) || stat(ftw->path, &st)))
44 nftw.base = ftw->pathlen - ftw->namelen;
45 nftw.level = ftw->level;
47 n = (*nftw_userf)(ftw->path, &ftw->statb, n, &nftw);
48 ftw
[all...]
/illumos-gate/usr/src/head/
H A Dftw.h125 extern int ftw(const char *,
153 #define ftw(path, fn, depth) _xftw(_XFTWVER, (path), (fn), (depth)) macro
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c59 #include <ftw.h>
273 recursive(const char *name, const struct stat *statp, int info, struct FTW *ftw) argument
292 execute(name, ftw->base);
/illumos-gate/usr/src/tools/protocmp/
H A Dprotocmp.c37 #include <ftw.h>
578 struct FTW *ftw)
577 set_values(const char *fname, const struct stat *sbp, int otype, struct FTW *ftw) argument
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c47 #include <ftw.h>
828 struct FTW *ftw)
827 nftw_owner(const char *path, const struct stat *statp, int info, struct FTW *ftw) argument
/illumos-gate/usr/src/cmd/grep_xpg4/
H A Dgrep.c58 #include <ftw.h>
435 recursive(const char *name, const struct stat *statp, int info, struct FTW *ftw) argument
455 process_file(name, ftw->base);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_map.h126 #undef ftw macro
127 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h105 #undef ftw macro
106 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_map.h126 #undef ftw macro
127 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h105 #undef ftw macro
106 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_map.h126 #undef ftw macro
127 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h105 #undef ftw macro
106 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_map.h126 #undef ftw macro
127 #define ftw _ast_ftw macro
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h105 #undef ftw macro
106 #define ftw _ast_ftw macro
/illumos-gate/usr/src/man/man3head/
H A DMakefile38 ftw.h.3head \
127 ftw.3head \
216 ftw.3head := LINKSRC = ftw.h.3head
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c5842 int flags, struct FTW *ftw)
5841 devfsadm_copy_file(const char *file, const struct stat *stat, int flags, struct FTW *ftw) argument
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c56 #include <ftw.h>
2258 struct FTW *ftw)
2254 cmpstat( const char *file, const struct stat *st, int flags, struct FTW *ftw) argument
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c49 #include <ftw.h>
2966 struct FTW *ftw)
2965 zonecfg_devwalk_cb(const char *path, const struct stat *st, int f, struct FTW *ftw) argument

Completed in 194 milliseconds