Searched refs:fts (Results 1 - 25 of 25) sorted by relevance

/osnet-11/usr/src/lib/libast/common/misc/
H A Dfts.c28 * fts implementation unwound from the kpv ftwalk() of 1988-10-30
95 #include <fts.h>
177 node(FTS* fts, FTSENT* parent, register char* name, register size_t namelen) argument
182 if (fts->free && namelen < MINNAME)
184 f = fts->free;
185 fts->free = f->fts_link;
192 fts->fts_errno = errno;
193 fts->state = FTS_error;
196 f->fts = fts;
460 popdirs(FTS* fts) argument
504 info(FTS* fts, register FTSENT* f, const char* path, struct stat* sp, int flags) argument
582 toplist(FTS* fts, register char* const* pathnames) argument
676 order(FTS* fts) argument
697 resize(register FTS* fts, size_t inc) argument
735 register FTS* fts; local
812 fts_read(register FTS* fts) argument
1432 fts_set(register FTS* fts, register FTSENT* f, int status) argument
1462 fts_children(register FTS* fts, int flags) argument
1526 fts_close(register FTS* fts) argument
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dfts_fix.h36 #include <fts.h>
H A Dfts_fix.c41 _fts_read(FTS* fts) argument
47 if ((oe = _ast_fts_read(fts)) && ast.version < 20100102L && (ne || (ne = newof(0, FTSENT, 1, 0))))
H A Dchmod.c157 register FTS* fts; local
256 if (!(fts = fts_open(argv, flags, NiL)))
262 while (!sh_checksig(context) && (ent = fts_read(fts)))
304 fts_close(fts);
H A Drm.c332 FTS* fts; local
404 if (fts = fts_open(argv, FTS_PHYSICAL, NiL))
406 while (!sh_checksig(context) && (ent = fts_read(fts)) && !rm(&state, ent));
407 fts_close(fts);
H A Dchgrp.c230 register FTS* fts; local
400 if (!(fts = fts_open(argv + 1, flags, NiL)))
402 while (!sh_checksig(context) && (ent = fts_read(fts)))
494 fts_close(fts);
H A Dcksum.c448 FTS* fts; local
592 else if (!(fts = fts_open(argv, flags, state.sort)))
596 while (!sh_checksig(context) && (ent = fts_read(fts)))
623 fts_close(fts);
H A Dcp.c251 FTS* fts; local
509 if (fts = fts_open((char**)e, FTS_NOCHDIR|FTS_ONEPATH|FTS_PHYSICAL|FTS_NOPOSTORDER|FTS_NOSTAT|FTS_NOSEEDOTDIR, NiL))
511 while (sub = fts_read(fts))
518 fts_close(fts);
682 FTS* fts; local
983 if (fts = fts_open(argv, state->flags, NiL))
985 while (!sh_checksig(context) && (ent = fts_read(fts)) && !visit(state, ent));
986 fts_close(fts);
H A Dgrep.c102 #include <fts.h>
636 FTS* fts; local
846 else if (old) /* just in case the fts logic is incompatible */
875 if (!(fts = fts_open(argv, flags, NiL)))
877 while (ent = fts_read(fts))
906 fts_close(fts);
H A Dfind.c26 * rewrite of find program to use fts*() and optget()
94 #include <fts.h>
1667 register State_t* state = f1->fts->fts_handle;
1713 FTS* fts; local
1718 if (fts = fts_open(paths, flags, sort))
1720 fts->fts_handle = state;
1721 while (ent = fts_read(fts))
1727 fts_close(fts);
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dftwalk.h32 * which formed the basis for the POSIX fts proposal
34 * NOTE: this file is in cahoots with the fts implementation
58 #define FTSENT Ftw_t /* <fts.h> internal */
59 #define Ftsent FTW /* <fts.h> internal */
61 #define _FTSENT_LOCAL_PRIVATE_ /* <fts.h> internal */ \
68 #include <fts.h>
H A Dfts.h31 * fts interface definitions
134 FTS* fts; /* fts_open() handle */ member in struct:Ftsent
/osnet-11/usr/src/lib/libast/common/include/
H A Dftwalk.h30 * which formed the basis for the POSIX fts proposal
32 * NOTE: this file is in cahoots with the fts implementation
49 #define FTSENT Ftw_t /* <fts.h> internal */
50 #define Ftsent FTW /* <fts.h> internal */
52 #define _FTSENT_LOCAL_PRIVATE_ /* <fts.h> internal */ \
59 #include <fts.h>
H A Dfts.h29 * fts interface definitions
125 FTS* fts; /* fts_open() handle */ member in struct:Ftsent
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dftwalk.h32 * which formed the basis for the POSIX fts proposal
34 * NOTE: this file is in cahoots with the fts implementation
58 #define FTSENT Ftw_t /* <fts.h> internal */
59 #define Ftsent FTW /* <fts.h> internal */
61 #define _FTSENT_LOCAL_PRIVATE_ /* <fts.h> internal */ \
68 #include <fts.h>
H A Dfts.h31 * fts interface definitions
134 FTS* fts; /* fts_open() handle */ member in struct:Ftsent
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dftwalk.h32 * which formed the basis for the POSIX fts proposal
34 * NOTE: this file is in cahoots with the fts implementation
58 #define FTSENT Ftw_t /* <fts.h> internal */
59 #define Ftsent FTW /* <fts.h> internal */
61 #define _FTSENT_LOCAL_PRIVATE_ /* <fts.h> internal */ \
68 #include <fts.h>
H A Dfts.h31 * fts interface definitions
134 FTS* fts; /* fts_open() handle */ member in struct:Ftsent
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dftwalk.h32 * which formed the basis for the POSIX fts proposal
34 * NOTE: this file is in cahoots with the fts implementation
58 #define FTSENT Ftw_t /* <fts.h> internal */
59 #define Ftsent FTW /* <fts.h> internal */
61 #define _FTSENT_LOCAL_PRIVATE_ /* <fts.h> internal */ \
68 #include <fts.h>
H A Dfts.h31 * fts interface definitions
134 FTS* fts; /* fts_open() handle */ member in struct:Ftsent
/osnet-11/usr/src/lib/libdll/common/
H A Ddllscan.c38 FTS* fts; \
62 #include <fts.h>
173 * fts version sort order
363 if (scan->fts)
364 fts_close(scan->fts);
395 if (scan->fts)
397 fts_close(scan->fts);
398 scan->fts = 0;
436 if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts))
[all...]
/osnet-11/usr/src/lib/libast/
H A DMakefile96 fts.h \
H A DMakefile.com181 common/misc/fts.o \
/osnet-11/usr/src/lib/libast/common/
H A Dllib-last76 #include <fts.h>
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dmain.c87 # include <fts.h>

Completed in 65 milliseconds