|
RTEMS CPU Kit with SuperCore
4.11.2
|
#include <sys/cdefs.h>#include "namespace.h"#include <limits.h>#include <sys/param.h>#include <sys/stat.h>#include <assert.h>#include <dirent.h>#include <errno.h>#include <fcntl.h>#include <fts.h>#include <stdlib.h>#include <stdint.h>#include <string.h>#include <unistd.h>
Macros | |
| #define | _DIAGASSERT(a) |
| #define | dirfd(dp) __dirfd(dp) |
| #define | HAVE_STRUCT_DIRENT_D_NAMLEN |
| #define | ISDOT(a) (a[0] == '.' && (!a[1] || (a[1] == '.' && !a[2]))) |
| #define | CLR(opt) (sp->fts_options &= ~(opt)) |
| #define | ISSET(opt) (sp->fts_options & (opt)) |
| #define | SET(opt) (sp->fts_options |= (opt)) |
| #define | CHDIR(sp, path) (!ISSET(FTS_NOCHDIR) && chdir(path)) |
| #define | FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd)) |
| #define | BCHILD 1 /* fts_children */ |
| #define | BNAMES 2 /* fts_children, names only */ |
| #define | BREAD 3 /* fts_read */ |
| #define | NAPPEND(p) |
| #define | __opendir2(path, flag) opendir(path) |
| #define | ADJUST(p) |
Functions | |
| FTS * | fts_open (char *const *argv, int options, int(*compar)(const FTSENT **, const FTSENT **)) |
| int | fts_close (FTS *sp) |
| FTSENT * | fts_read (FTS *sp) |
| int | fts_set (FTS *sp, FTSENT *p, int instr) |
| FTSENT * | fts_children (FTS *sp, int instr) |
| #define ADJUST | ( | p | ) |
| #define NAPPEND | ( | p | ) |
1.8.13