CS350 COS
COS
Loading...
Searching...
No Matches
dirent.h
Go to the documentation of this file.
1
2#ifndef __SYS_DIRENT_H__
3#define __SYS_DIRENT_H__
4
5#include <stdint.h>
6
7#define NAME_MAX 256
8
9struct dirent {
15};
16
17#define DT_UNKNOWN 0
18#define DT_REG 1
19#define DT_DIR 2
20#define DT_LNK 3
21#define DT_FIFO 4
22
23#endif /* __SYS_DIRENT_H__ */
24
char d_name[NAME_MAX]
Definition: dirent.h:14
uint16_t d_reclen
Definition: dirent.h:11
uint8_t d_type
Definition: dirent.h:12
uint8_t d_namlen
Definition: dirent.h:13
ino_t d_ino
Definition: dirent.h:10
#define NAME_MAX
Definition: dirent.h:7
Definition: dirent.h:9
uint64_t ino_t
Definition: types.h:23
unsigned short uint16_t
Definition: types.h:11
unsigned char uint8_t
Definition: types.h:10