Home
last modified time | relevance | path

Searched refs:ftw (Results 1 – 25 of 64) sorted by relevance

123

/titanic_51/usr/src/lib/libast/common/comp/
H A Dnftw.c34 nftw_user(Ftw_t* ftw) in nftw_user() argument
36 register int n = ftw->info; in nftw_user()
42 else if ((n & FTW_SL) && (!(nftw_flags & FTW_PHYSICAL) || stat(ftw->path, &st))) in nftw_user()
44 nftw.base = ftw->pathlen - ftw->namelen; in nftw_user()
45 nftw.level = ftw->level; in nftw_user()
47 n = (*nftw_userf)(ftw->path, &ftw->statb, n, &nftw); in nftw_user()
48 ftw->status = nftw.quit; in nftw_user()
H A Dftw.c33 ftw_user(Ftw_t* ftw) in ftw_user() argument
35 register int n = ftw->info; in ftw_user()
41 return (*ftw_userf)(ftw->path, &ftw->statb, n); in ftw_user()
45 ftw(const char* path, int(*userf)(const char*, const struct stat*, int), int depth) in ftw() function
H A Dftw.h55 extern int ftw(const char*, int(*)(const char*, const struct stat*, int), int);
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Dnftw.c28 #include <ftw.h>
34 nftw_user(Ftw_t* ftw) in nftw_user() argument
36 register int n = ftw->info; in nftw_user()
42 else if ((n & FTW_SL) && (!(nftw_flags & FTW_PHYSICAL) || stat(ftw->path, &st))) in nftw_user()
44 nftw.base = ftw->pathlen - ftw->namelen; in nftw_user()
45 nftw.level = ftw->level; in nftw_user()
47 n = (*nftw_userf)(ftw->path, &ftw->statb, n, &nftw); in nftw_user()
48 ftw in nftw_user()
[all...]
H A Dftw.c24 * ftw implementation
28 #include <ftw.h>
33 ftw_user(Ftw_t* ftw) in ftw_user() argument
35 register int n = ftw->info; in ftw_user()
41 return (*ftw_userf)(ftw->path, &ftw->statb, n); in ftw_user()
45 ftw(const char* path, int(*userf)(const char*, const struct stat*, int), int depth) in ftw() function
H A Dftw.h24 * ftw,nftw over ftwalk
55 extern int ftw(const char*, int(*)(const char*, const struct stat*, int), int);
/titanic_51/usr/src/lib/libc/port/gen/
H A Dftw.c40 #include <ftw.h>
47 #undef ftw
49 #define ftw ftw64 macro
52 #undef ftw
53 #pragma weak _ftw = ftw
57 ftw(const char *path, int (*fn)(), int depth) in ftw() function
/titanic_51/usr/src/head/
H A Dftw.h125 extern int ftw(const char *,
153 #define ftw(path, fn, depth) _xftw(_XFTWVER, (path), (fn), (depth)) macro
/titanic_51/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) ftw() function
[all...]
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dftw.h65 extern __MANGLE__ int ftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int), int…
H A Dast_map.h126 #undef ftw
127 #define ftw _ast_ftw macro
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dftw.h65 extern __MANGLE__ int ftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int), int…
H A Dast_map.h126 #undef ftw
127 #define ftw _ast_ftw macro
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dftw.h65 extern __MANGLE__ int ftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int), int…
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dftw.h65 extern __MANGLE__ int ftw __PROTO__((const char*, int(*)(const char*, const struct stat*, int), int…
/titanic_51/usr/src/man/man3head/
H A DMakefile38 ftw.h.3head \
128 ftw.3head \
217 ftw.3head := LINKSRC = ftw.h.3head
/titanic_51/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) in recursive() argument
292 execute(name, ftw->base); in recursive()
/titanic_51/usr/src/cmd/streams/log/
H A Dstrclean.c34 #include <ftw.h>
135 ftw(logname, clean, 1); in main()
/titanic_51/usr/src/lib/libast/common/
H A DREADME40 ftw.h ftwalk() interface definitions
54 ftwalk an ftw(3) that works -- used in new tw(1)
/titanic_51/usr/src/contrib/ast/src/lib/libast/
H A DREADME40 ftw.h ftwalk() interface definitions
54 ftwalk an ftw(3) that works -- used in new tw(1)
/titanic_51/usr/src/lib/libast/
H A DMakefile93 ftw.h \
/titanic_51/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_map.h105 #undef ftw
106 #define ftw _ast_ftw macro
/titanic_51/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h105 #undef ftw
106 #define ftw _ast_ftw macro
/titanic_51/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_map.h105 #undef ftw
106 #define ftw _ast_ftw macro
/titanic_51/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_map.h105 #undef ftw
106 #define ftw _ast_ftw macro

123