Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _LINUX_DIRENT_H
     13 #define _LINUX_DIRENT_H
     14 
     15 struct dirent {
     16  long d_ino;
     17  __kernel_off_t d_off;
     18  unsigned short d_reclen;
     19  char d_name[256];
     20 };
     21 
     22 struct dirent64 {
     23  __u64 d_ino;
     24  __s64 d_off;
     25  unsigned short d_reclen;
     26  unsigned char d_type;
     27  char d_name[256];
     28 };
     29 
     30 #endif
     31