📄 dir.h
字号:
#ifndef __libgxx_sys_dir_hextern "C" {#ifdef __sys_dir_h_recursive#include_next <sys/dir.h>#else#define __sys_dir_h_recursive#define opendir __hide_opendir#define closedir __hide_closedir#define readdir __hide_readdir#define telldir __hide_telldir#define seekdir __hide_seekdir#include_next <sys/dir.h>#define __libgxx_sys_dir_h#undef opendir#undef closedir#undef readdir#undef telldir#undef seekdirDIR *opendir(const char *);int closedir(DIR *);#ifdef __dirent_h_recursive// Some operating systems we won't mention (such as the imitation// of Unix marketed by IBM) implement dirent.h by including sys/dir.h,// in which case sys/dir.h defines struct dirent, rather than// the struct direct originally used by BSD.struct dirent *readdir(DIR *);#elsestruct direct *readdir(DIR *);#endiflong telldir(DIR *);void seekdir(DIR *, long);// We don't bother with rewinddir (many systems define it as a macro).// void rewinddir(DIR *);#endif}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -