check.h
来自「linux dosfs 工具,可以移植到嵌入式系统下检查存储状态下的磁盘状况,修」· C头文件 代码 · 共 24 行
H
24 行
/* check.h - Check and repair a PC/MS-DOS file system *//* Written 1993 by Werner Almesberger */#ifndef _CHECK_H#define _CHECK_Hloff_t alloc_rootdir_entry(DOS_FS *fs, DIR_ENT *de, const char *pattern);/* Allocate a free slot in the root directory for a new file. The file name is constructed after 'pattern', which must include a %d type format for printf and expand to exactly 11 characters. The name actually used is written into the 'de' structure, the rest of *de is cleared. The offset returned is to where in the filesystem the entry belongs. */int scan_root(DOS_FS *fs);/* Scans the root directory and recurses into all subdirectories. See check.c for all the details. Returns a non-zero integer if the file system has to be checked again. */#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?