miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
Loading...
Searching...
No Matches
dirent.h
Go to the documentation of this file.
1
#ifndef _MINIOS_DIRENT_H_
2
#define _MINIOS_DIRENT_H_
3
4
#include <
miniOS/types.h
>
5
6
typedef
struct
{
7
uint64_t
d_ino
;
8
int64_t
d_off
;
9
uint16_t
d_reclen
;
10
uint8_t
d_type
;
11
char
d_name
[];
12
}
__attribute__
((packed)) linux_dirent64_t;
13
14
#endif
/* _MINIOS_DIRENT_H_ */
__attribute__::d_type
uint8_t d_type
Definition
dirent.h:10
__attribute__::d_ino
uint64_t d_ino
Definition
dirent.h:7
__attribute__::d_name
char d_name[]
Definition
dirent.h:11
__attribute__::d_reclen
uint16_t d_reclen
Definition
dirent.h:9
__attribute__::d_off
int64_t d_off
Definition
dirent.h:8
types.h
uint16_t
unsigned short uint16_t
Definition
types.h:31
int64_t
signed long int int64_t
Definition
types.h:36
uint64_t
unsigned long int uint64_t
Definition
types.h:37
uint8_t
unsigned char uint8_t
Definition
types.h:28
__attribute__
typedef __attribute__
include
miniOS
dirent.h
Generated by
1.16.1