home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
misc
/
src
/
rpm
/
build
/
myftw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-17
|
469b
|
19 lines
/* myftw.h -- ftw() using lstat() instead of stat() */
#ifndef _MYFTW_H_
#define _MYFTW_H_
/* The FLAG argument to the user function passed to ftw. */
#define MYFTW_F 0 /* Regular file. */
#define MYFTW_D 1 /* Directory. */
#define MYFTW_DNR 2 /* Unreadable directory. */
#define MYFTW_NS 3 /* Unstatable file. */
int myftw (const char *dir,
int (*func) (const char *file,
struct stat *status,
int flag),
int descriptors);
#endif _MYFTW_H_