[BACK]Return to dirent.h CVS log [TXT][DIR] Up to [local] / src / include

Diff for /src/include/dirent.h between version 1.19 and 1.20

version 1.19, 2010/10/28 15:02:41 version 1.20, 2010/12/31 19:54:05
Line 54 
Line 54 
 #define d_ino           d_fileno        /* backward compatibility */  #define d_ino           d_fileno        /* backward compatibility */
 #endif  #endif
   
   #if __BSD_VISIBLE || __XPG_VISIBLE > 600
   #define dirfd(dirp)     ((dirp)->dd_fd)
   #endif
   
 #if __BSD_VISIBLE  #if __BSD_VISIBLE
   
 /* definitions for library routines operating on directories. */  /* definitions for library routines operating on directories. */
Line 74 
Line 78 
         void    *dd_lock;       /* mutex to protect struct */          void    *dd_lock;       /* mutex to protect struct */
 } DIR;  } DIR;
   
 #define dirfd(dirp)     ((dirp)->dd_fd)  
   
 /* flags for opendir2 */  /* flags for opendir2 */
 #define DTF_NODUP       0x0002  /* don't return duplicate names */  #define DTF_NODUP       0x0002  /* don't return duplicate names */
   
Line 101 
Line 103 
 int closedir(DIR *);  int closedir(DIR *);
 #if __BSD_VISIBLE  #if __BSD_VISIBLE
 DIR *__opendir2(const char *, int);  DIR *__opendir2(const char *, int);
 int scandir(const char *, struct dirent ***,  
     int (*)(struct dirent *), int (*)(const void *, const void *));  
 int alphasort(const void *, const void *);  
 int getdirentries(int, char *, int, off_t *)  int getdirentries(int, char *, int, off_t *)
                 __attribute__ ((__bounded__(__string__,2,3)));                  __attribute__ ((__bounded__(__string__,2,3)));
 #endif /* __BSD_VISIBLE */  #endif /* __BSD_VISIBLE */
Line 113 
Line 112 
 #endif  #endif
 #if __POSIX_VISIBLE >= 199506 || __XPG_VISIBLE >= 500  #if __POSIX_VISIBLE >= 199506 || __XPG_VISIBLE >= 500
 int readdir_r(DIR *, struct dirent *, struct dirent **);  int readdir_r(DIR *, struct dirent *, struct dirent **);
   #endif
   #if __BSD_VISIBLE || __POSIX_VISIBLE >= 200809
   int scandir(const char *, struct dirent ***,
       int (*)(struct dirent *), int (*)(const void *, const void *));
   int alphasort(const void *, const void *);
 #endif  #endif
 __END_DECLS  __END_DECLS
   

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20