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

Diff for /src/include/dirent.h between version 1.22 and 1.23

version 1.22, 2011/07/03 18:51:01 version 1.23, 2011/07/14 02:16:00
Line 73 
Line 73 
         int     dd_len;         /* size of data buffer */          int     dd_len;         /* size of data buffer */
         off_t   dd_seek;        /* magic cookie returned by getdirentries */          off_t   dd_seek;        /* magic cookie returned by getdirentries */
         off_t   dd_rewind;      /* magic cookie for rewinding */          off_t   dd_rewind;      /* magic cookie for rewinding */
         int     dd_flags;       /* flags for readdir */          int     dd_unused;      /* was flags for readdir */
         struct _telldir *dd_td; /* telldir position recording */          struct _telldir *dd_td; /* telldir position recording */
         void    *dd_lock;       /* mutex to protect struct */          void    *dd_lock;       /* mutex to protect struct */
 } DIR;  } DIR;
   
 /* flags for opendir2 */  
 #define DTF_NODUP       0x0002  /* don't return duplicate names */  
   
 #ifndef NULL  #ifndef NULL
 #ifdef  __GNUG__  #ifdef  __GNUG__
 #define NULL    __null  #define NULL    __null
Line 104 
Line 101 
 void rewinddir(DIR *);  void rewinddir(DIR *);
 int closedir(DIR *);  int closedir(DIR *);
 #if __BSD_VISIBLE  #if __BSD_VISIBLE
 DIR *__opendir2(const char *, int);  
 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 */

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23