blob: 35ba1e9788c2ce6d99d59ec02130dbbdf7f9817c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <bits/panic.h>
typedef struct DIR DIR;
struct dirent {
ino_t d_ino;
char d_name[256]; /* NAME_MAX + 1 */
};
static inline DIR *opendir(const char *name) {
__libc_panic("unimplemented");
}
static inline int closedir(DIR *dir) {
__libc_panic("unimplemented");
}
static inline struct dirent *readdir(DIR *dir) {
__libc_panic("unimplemented");
}
|