📄 dirent.zc
字号:
import "base/types"import "unistd"public [name="c"]public typedef ino_t = dwordstruct dir dummy : intendstruct dirent d_ino : ino_t d_off : off_t d_reclen : word d_type : byte d_name : [256] charendenum dirent_type DT_UNKNOWN = 0 DT_FIFO = 1 DT_CHR = 2 DT_DIR = 4 DT_BLK = 6 DT_REG = 8 DT_LNK = 10 DT_SOCK = 12 DT_WHT = 14endimport func opendir (string): dirimport func closedir (dir): intimport func readdir (dir): direntimport func rewinddir (dir): voidequ MAXNAMLEN = 255end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -