| /src/lib/libc/compat/include/ |
| fts.h | 1 /* $NetBSD: fts.h,v 1.1 2005/09/13 01:44:09 christos Exp $ */ 31 * @(#)fts.h 8.3 (Berkeley) 8/14/94 38 FTSENT *fts_children(FTS *, int); 39 int fts_close(FTS *); 40 FTS *fts_open(char * const *, int, 42 FTSENT *fts_read(FTS *); 43 int fts_set(FTS *, FTSENT *, int);
|
| /src/include/ |
| fts.h | 1 /* $NetBSD: fts.h,v 1.19 2009/08/16 19:33:38 christos Exp $ */ 31 * @(#)fts.h 8.3 (Berkeley) 8/14/94 84 } FTS; 142 FTSENT *fts_children(FTS *, int) __RENAME(__fts_children60); 143 int fts_close(FTS *) __RENAME(__fts_close60); 144 FTS *fts_open(char * const *, int, 146 FTSENT *fts_read(FTS *) __RENAME(__fts_read60); 147 int fts_set(FTS *, FTSENT *, int) __RENAME(__fts_set60);
|
| /src/lib/libc/gen/ |
| fts.c | 1 /* $NetBSD: fts.c,v 1.52 2022/04/19 20:32:15 rillig Exp $ */ 39 static char sccsid[] = "@(#)fts.c 8.6 (Berkeley) 8/14/94"; 41 __RCSID("$NetBSD: fts.c,v 1.52 2022/04/19 20:32:15 rillig Exp $"); 53 #include <fts.h> 62 static FTSENT *fts_alloc(FTS *, const char *, size_t); 63 static FTSENT *fts_build(FTS *, int); 66 static void fts_load(FTS *, FTSENT *); 69 static int fts_palloc(FTS *, size_t); 70 static void fts_padjust(FTS *, FTSENT *); 71 static FTSENT *fts_sort(FTS *, FTSENT *, size_t) [all...] |
| ftw.c | 33 #include <fts.h> 44 FTS *ftsp;
|
| nftw.c | 34 #include <fts.h> 46 FTS *ftsp;
|
| devname.c | 41 #include <fts.h> 108 FTS *ftsp;
|
| /src/tests/lib/libc/gen/ |
| t_getcwd.c | 39 #include <fts.h> 77 FTS *fts; local in function:ATF_TC_BODY 96 fts = fts_open(argv, ops, NULL); 98 if (fts == NULL) { 99 str = "failed to initialize fts(3)"; 103 while ((ftse = fts_read(fts)) != NULL) { 109 (void)fts_set(fts, ftse, FTS_SKIP); 137 if (fts != NULL) 138 (void)fts_close(fts); [all...] |
| /src/usr.bin/chflags/ |
| chflags.c | 51 #include <fts.h> 63 FTS *ftsp;
|
| /src/bin/setfacl/ |
| setfacl.c | 42 #include <fts.h> 79 static int handle_file(FTS *ftsp, FTSENT *file); 180 handle_file(FTS *ftsp, FTSENT *file) 360 FTS *ftsp;
|
| /src/usr.sbin/mtree/ |
| create.c | 89 static int statd(FILE *, FTS *, FTSENT *, uid_t *, gid_t *, mode_t *, 96 FTS *t; 331 statd(FILE *fp, FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode,
|
| verify.c | 80 FTS *t;
|
| /src/usr.bin/find/ |
| find.c | 49 #include <fts.h> 193 FTS *tree; /* pointer to top of FTS hierarchy */
|
| /src/bin/chmod/ |
| chmod.c | 53 #include <fts.h> 74 FTS *ftsp;
|
| /src/usr.bin/du/ |
| du.c | 56 #include <fts.h> 78 FTS *fts; local in function:main 156 * Because of the way that fts(3) works, logical walks will not count 194 if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL) 197 for (rval = 0; (p = fts_read(fts)) != NULL;) { 206 fts_set(fts, p, FTS_SKIP);
|
| /src/usr.bin/cvslatest/ |
| cvslatest.c | 58 #include <fts.h> 175 FTS *dh;
|
| /src/sbin/chown/ |
| chown.c | 54 #include <fts.h> 83 FTS *ftsp;
|
| /src/usr.sbin/dev_mkdb/ |
| dev_mkdb.c | 43 #include <fts.h> 181 FTS *ftsp;
|
| /src/tests/lib/libc/sys/ |
| t_stat.c | 44 #include <fts.h> 98 FTS *fts; local in function:ATF_TC_BODY 107 fts = fts_open(argv, ops, NULL); 108 ATF_REQUIRE(fts != NULL); 110 while ((ftse = fts_read(fts)) != NULL) { 116 (void)fts_set(fts, ftse, FTS_SKIP); 139 * Check that fts(3)'s stat(2) 143 atf_tc_fail("stat(2) and fts(3) differ"); 152 (void)fts_close(fts); [all...] |
| /src/bin/cp/ |
| cp.c | 54 * current target file. Since fts(3) does not change directories, 57 * The basic algorithm is to initialize "to" and use fts(3) to traverse 71 #include <fts.h> 218 /* Set end of argument list for fts(3). */ 327 FTS *ftsp;
|
| /src/bin/rm/ |
| rm.c | 53 #include <fts.h> 161 FTS *fts; local in function:rm_tree 184 if ((fts = fts_open(argv, flags, NULL)) == NULL) 186 while ((p = fts_read(fts)) != NULL) { 218 (void)fts_set(fts, p, FTS_SKIP); 273 fts_close(fts);
|
| /src/usr.bin/grep/ |
| util.c | 46 #include <fts.h> 115 FTS *fts; local in function:grep_tree 137 if (!(fts = fts_open(argv, fts_flags, NULL))) 139 while ((p = fts_read(fts)) != NULL) { 179 fts_close(fts);
|
| /src/usr.sbin/veriexecgen/ |
| veriexecgen.c | 52 #include <fts.h> 280 FTS *fh;
|
| /src/bin/pax/ |
| ftree.c | 84 #include <fts.h> 98 * routines to interface with the fts library function. 101 * and given to fts to be processed one at a time. pax "selects" files from 111 static FTS *ftsp = NULL; /* current FTS handle */ 113 static char *farray[2]; /* array for passing each arg to fts */ 165 * set up the operation mode of fts, open the first file arg. We must 167 * if fts did a chdir off into the boondocks, we may create an archive 206 * processed by fts one at a time 269 * if -M we don't use fts(3), so the rest of this function is moot [all...] |
| /src/bin/ls/ |
| ls.c | 57 #include <fts.h> 421 FTS *ftsp;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_platform_limits_freebsd.cc | 21 #include <fts.h> 134 unsigned struct_FTS_sz = sizeof(FTS);
|