Files
2026-02-04 01:58:49 +01:00

23 lines
370 B
C

#pragma once
#include <uapi/types.h>
#include <stdint.h>
#define DT_UNKNOWN 0
#define DT_FIFO 1
#define DT_CHR 2
#define DT_DIR 4
#define DT_BLK 6
#define DT_REG 8
#define DT_LNK 10
#define DT_SOCK 12
#define DT_WHT 14
struct dirent {
ino_t d_ino;
off_t d_off;
uint16_t d_reclen;
uint8_t d_type;
char d_name[256];
};