/[svn]/linuxsampler/trunk/src/common/File.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/File.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1910 by senoner, Fri Jun 5 14:22:20 2009 UTC revision 1911 by senoner, Sat Jun 6 13:50:36 2009 UTC
# Line 77  int ftw(const char *dirpath, Line 77  int ftw(const char *dirpath,
77    
78  int dirfd(DIR *dirp);  int dirfd(DIR *dirp);
79    
 #define S_IFMT        0170000  
 #define S_IFDIR       0040000  
 #define S_IFREG       0100000  
   
 #define __S_ISTYPE(mode, mask)  (((mode) & S_IFMT) == (mask))  
 #define S_ISDIR(mode)    __S_ISTYPE((mode), S_IFDIR)  
 #define S_ISREG(mode)    __S_ISTYPE((mode), S_IFREG)  
   
80  #define DT_DIR  4  #define DT_DIR  4
81  #define DT_REG  8  #define DT_REG  8
82    
 int     stat(const char *path, struct stat *buf);  
   
83  #define FTW_F 0x01  #define FTW_F 0x01
84  #define FTW_D 0x02  #define FTW_D 0x02
85  #define FTW_DNR 0x03  #define FTW_DNR 0x03

Legend:
Removed from v.1910  
changed lines
  Added in v.1911

  ViewVC Help
Powered by ViewVC