Back to index

glibc  2.9
Defines | Typedefs | Enumerations | Functions
ftw.h File Reference
#include <features.h>
#include <sys/types.h>
#include <sys/stat.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FTW_F   FTW_F
#define FTW_D   FTW_D
#define FTW_DNR   FTW_DNR
#define FTW_NS   FTW_NS

Typedefs

typedef int(* __ftw_func_t )(__const char *__filename, __const struct stat *__status, int __flag)

Enumerations

enum  {
  FTW_F, FTW_F, FTW_D, FTW_D,
  FTW_DNR, FTW_DNR, FTW_NS, FTW_NS
}

Functions

int ftw (__const char *__dir, __ftw_func_t __func, int __descriptors) __nonnull((1

Define Documentation

#define FTW_D   FTW_D

Definition at line 41 of file ftw.h.

#define FTW_DNR   FTW_DNR

Definition at line 43 of file ftw.h.

#define FTW_F   FTW_F

Definition at line 39 of file ftw.h.

#define FTW_NS   FTW_NS

Definition at line 45 of file ftw.h.


Typedef Documentation

typedef int(* __ftw_func_t)(__const char *__filename, __const struct stat *__status, int __flag)

Definition at line 115 of file ftw.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
FTW_F 
FTW_F 
FTW_D 
FTW_D 
FTW_DNR 
FTW_DNR 
FTW_NS 
FTW_NS 

Definition at line 36 of file ftw.h.

{
  FTW_F,             /* Regular file.  */
#define FTW_F  FTW_F
  FTW_D,             /* Directory.  */
#define FTW_D  FTW_D
  FTW_DNR,           /* Unreadable directory.  */
#define FTW_DNR       FTW_DNR
  FTW_NS,            /* Unstatable file.  */
#define FTW_NS        FTW_NS

#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED

  FTW_SL,            /* Symbolic link.  */
# define FTW_SL       FTW_SL
#endif

#ifdef __USE_XOPEN_EXTENDED
/* These flags are only passed from the `nftw' function.  */
  FTW_DP,            /* Directory, all subdirs have been visited. */
# define FTW_DP       FTW_DP
  FTW_SLN            /* Symbolic link naming non-existing file.  */
# define FTW_SLN FTW_SLN

#endif /* extended X/Open */
};

Function Documentation

int ftw ( __const char *  __dir,
__ftw_func_t  __func,
int  __descriptors 
)

Here is the caller graph for this function: