add lab answers
This commit is contained in:
13
labcodes_answer/lab8_result/libs/dirent.h
Executable file
13
labcodes_answer/lab8_result/libs/dirent.h
Executable file
@@ -0,0 +1,13 @@
|
||||
#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__ */
|
||||
|
||||
Reference in New Issue
Block a user