Lines Matching full:fts
30 * From: $OpenBSD: fts.c,v 1.22 1999/10/03 19:22:22 millert Exp $
47 #include "fts-compat.h"
53 FTSENT *__fts_children_44bsd(FTS *, int);
54 int __fts_close_44bsd(FTS *);
55 void *__fts_get_clientptr_44bsd(FTS *);
56 FTS *__fts_get_stream_44bsd(FTSENT *);
57 FTS *__fts_open_44bsd(char * const *, int,
59 FTSENT *__fts_read_44bsd(FTS *);
60 int __fts_set_44bsd(FTS *, FTSENT *, int);
61 void __fts_set_clientptr_44bsd(FTS *, void *);
63 static FTSENT *fts_alloc(FTS *, char *, int);
64 static FTSENT *fts_build(FTS *, int);
66 static void fts_load(FTS *, FTSENT *);
68 static void fts_padjust(FTS *, FTSENT *);
69 static int fts_palloc(FTS *, size_t);
70 static FTSENT *fts_sort(FTS *, FTSENT *, int);
71 static u_short fts_stat(FTS *, FTSENT *, int);
72 static int fts_safe_changedir(FTS *, FTSENT *, int, char *);
73 static int fts_ufslinks(FTS *, const FTSENT *);
89 * Internal representation of an FTS, including extra implementation
90 * details. The FTS returned from fts_open points to this structure's
94 FTS ftsp_fts;
117 FTS *
122 FTS *sp; in __fts_open_44bsd()
229 fts_load(FTS *sp, FTSENT *p) in fts_load()
253 __fts_close_44bsd(FTS *sp) in __fts_close_44bsd()
307 __fts_read_44bsd(FTS *sp) in __fts_read_44bsd()
496 * semantics to fts using fts_set. An error return is allowed for similar
501 __fts_set_44bsd(FTS *sp, FTSENT *p, int instr) in __fts_set_44bsd()
513 __fts_children_44bsd(FTS *sp, int instr) in __fts_children_44bsd()
585 (__fts_get_clientptr_44bsd)(FTS *sp)
595 FTS *
602 __fts_set_clientptr_44bsd(FTS *sp, void *clientptr) in __fts_set_clientptr_44bsd()
636 fts_build(FTS *sp, int type) in fts_build()
912 fts_stat(FTS *sp, FTSENT *p, int follow) in fts_stat()
1000 FTS *parent; in fts_compar()
1007 fts_sort(FTS *sp, FTSENT *head, int nitems) in fts_sort()
1036 fts_alloc(FTS *sp, char *name, int namelen) in fts_alloc()
1101 fts_palloc(FTS *sp, size_t more) in fts_palloc()
1106 * Check for possible wraparound. In an FTS, fts_pathlen is in fts_palloc()
1126 fts_padjust(FTS *sp, FTSENT *head) in fts_padjust()
1166 fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path) in fts_safe_changedir()
1198 fts_ufslinks(FTS *sp, const FTSENT *ent) in fts_ufslinks()