os_kernel_lab/labcodes/lab8/libs/dirent.h

14 lines
200 B
C
Raw Permalink Normal View History

2012-08-22 12:32:13 +08:00
#ifndef __LIBS_DIRENT_H__
#define __LIBS_DIRENT_H__
#include <defs.h>
#include <unistd.h>
struct dirent {
off_t offset;
char name[FS_MAX_FNAME_LEN + 1];
};
#endif /* !__LIBS_DIRENT_H__ */