Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2
#ifndef __dj_include_ftw_h_
3
#define __dj_include_ftw_h_
4
 
5
#ifdef __cplusplus
6
extern "C" {
7
#endif
8
 
9
#ifndef __dj_ENFORCE_ANSI_FREESTANDING
10
 
11
#ifndef __STRICT_ANSI__
12
 
13
#ifndef _POSIX_SOURCE
14
 
15
#define FTW_F   1
16
#define FTW_D   2
17
#define FTW_NS  3
18
#define FTW_DNR 4
19
#define FTW_VL  5
20
 
21
#include 
22
 
23
int     ftw(const char *_dir,
24
            int (*_fn)(const char *_file, struct stat *_sb, int _flag),
25
            int _depth);
26
 
27
#endif /* !_POSIX_SOURCE */
28
#endif /* !__STRICT_ANSI__ */
29
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
30
 
31
#ifndef __dj_ENFORCE_FUNCTION_CALLS
32
#endif /* !__dj_ENFORCE_FUNCTION_CALLS */
33
 
34
#ifdef __cplusplus
35
}
36
#endif
37
 
38
#endif /* !__dj_include_ftw_h_ */