RTEMS CPU Kit with SuperCore  4.11.3
Data Structures | Macros | Typedefs | Functions
fts.h File Reference
#include <sys/cdefs.h>
Include dependency graph for fts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FTS
 
struct  _ftsent
 

Macros

#define __fts_stat_t   struct stat
 
#define __fts_nlink_t   nlink_t
 
#define __fts_ino_t   ino_t
 
#define FTS_COMFOLLOW   0x001 /* follow command line symlinks */
 
#define FTS_LOGICAL   0x002 /* logical walk */
 
#define FTS_NOCHDIR   0x004 /* don't change directories */
 
#define FTS_NOSTAT   0x008 /* don't get stat info */
 
#define FTS_PHYSICAL   0x010 /* physical walk */
 
#define FTS_SEEDOT   0x020 /* return dot and dot-dot */
 
#define FTS_XDEV   0x040 /* don't cross devices */
 
#define FTS_WHITEOUT   0x080 /* return whiteout information */
 
#define FTS_OPTIONMASK   0x0ff /* valid user option mask */
 
#define FTS_NAMEONLY   0x100 /* (private) child names only */
 
#define FTS_STOP   0x200 /* (private) unrecoverable error */
 
#define FTS_ROOTPARENTLEVEL   -1
 
#define FTS_ROOTLEVEL   0
 
#define FTS_D   1 /* preorder directory */
 
#define FTS_DC   2 /* directory that causes cycles */
 
#define FTS_DEFAULT   3 /* none of the above */
 
#define FTS_DNR   4 /* unreadable directory */
 
#define FTS_DOT   5 /* dot or dot-dot */
 
#define FTS_DP   6 /* postorder directory */
 
#define FTS_ERR   7 /* error; errno is set */
 
#define FTS_F   8 /* regular file */
 
#define FTS_INIT   9 /* initialized only */
 
#define FTS_NS   10 /* stat(2) failed */
 
#define FTS_NSOK   11 /* no stat(2) requested */
 
#define FTS_SL   12 /* symbolic link */
 
#define FTS_SLNONE   13 /* symbolic link without target */
 
#define FTS_W   14 /* whiteout object */
 
#define FTS_DONTCHDIR   0x01 /* don't chdir .. to the parent */
 
#define FTS_SYMFOLLOW   0x02 /* followed a symlink to get here */
 
#define FTS_ISW   0x04 /* this is a whiteout object */
 
#define FTS_AGAIN   1 /* read node again */
 
#define FTS_FOLLOW   2 /* follow symbolic link */
 
#define FTS_NOINSTR   3 /* no instructions */
 
#define FTS_SKIP   4 /* discard node */
 
#define __RENAME(n)
 
#define fts_children   rtems_shell_fts_children
 
#define fts_close   rtems_shell_fts_close
 
#define fts_open   rtems_shell_fts_open
 
#define fts_read   rtems_shell_fts_read
 
#define fts_set   rtems_shell_fts_set
 

Typedefs

typedef struct _ftsent FTSENT
 

Functions

__BEGIN_DECLS FTSENTfts_children (FTS *, int) __RENAME(__fts_children30)
 
int fts_close (FTS *) __RENAME(__fts_close30)
 
FTSfts_open (char *const *, int, int(*)(const FTSENT **, const FTSENT **)) __RENAME(__fts_open30)
 
FTSENTfts_read (FTS *) __RENAME(__fts_read30)
 
int fts_set (FTS *, FTSENT *, int) __RENAME(__fts_set30)