1951a39d68df598db08dfced8b4707755864a0492Ying Wang/**************************************************************************** 2951a39d68df598db08dfced8b4707755864a0492Ying Wang **************************************************************************** 3951a39d68df598db08dfced8b4707755864a0492Ying Wang *** 4951a39d68df598db08dfced8b4707755864a0492Ying Wang *** This header was automatically generated from a Linux kernel header 5951a39d68df598db08dfced8b4707755864a0492Ying Wang *** of the same name, to make information necessary for userspace to 6951a39d68df598db08dfced8b4707755864a0492Ying Wang *** call into the kernel available to libc. It contains only constants, 7951a39d68df598db08dfced8b4707755864a0492Ying Wang *** structures, and macros generated from the original header, and thus, 8951a39d68df598db08dfced8b4707755864a0492Ying Wang *** contains no copyrightable information. 9951a39d68df598db08dfced8b4707755864a0492Ying Wang *** 10951a39d68df598db08dfced8b4707755864a0492Ying Wang **************************************************************************** 11951a39d68df598db08dfced8b4707755864a0492Ying Wang ****************************************************************************/ 12951a39d68df598db08dfced8b4707755864a0492Ying Wang#ifndef _LINUX_DIRENT_H 13951a39d68df598db08dfced8b4707755864a0492Ying Wang#define _LINUX_DIRENT_H 14951a39d68df598db08dfced8b4707755864a0492Ying Wang 15951a39d68df598db08dfced8b4707755864a0492Ying Wangstruct dirent { 16951a39d68df598db08dfced8b4707755864a0492Ying Wang long d_ino; 17951a39d68df598db08dfced8b4707755864a0492Ying Wang __kernel_off_t d_off; 18951a39d68df598db08dfced8b4707755864a0492Ying Wang unsigned short d_reclen; 19951a39d68df598db08dfced8b4707755864a0492Ying Wang char d_name[256]; 20951a39d68df598db08dfced8b4707755864a0492Ying Wang}; 21951a39d68df598db08dfced8b4707755864a0492Ying Wang 22951a39d68df598db08dfced8b4707755864a0492Ying Wangstruct dirent64 { 23951a39d68df598db08dfced8b4707755864a0492Ying Wang __u64 d_ino; 24951a39d68df598db08dfced8b4707755864a0492Ying Wang __s64 d_off; 25951a39d68df598db08dfced8b4707755864a0492Ying Wang unsigned short d_reclen; 26951a39d68df598db08dfced8b4707755864a0492Ying Wang unsigned char d_type; 27951a39d68df598db08dfced8b4707755864a0492Ying Wang char d_name[256]; 28951a39d68df598db08dfced8b4707755864a0492Ying Wang}; 29951a39d68df598db08dfced8b4707755864a0492Ying Wang 30951a39d68df598db08dfced8b4707755864a0492Ying Wang#endif 31