这是一个开放源代码的与WINNT/WIN2K/WIN2003兼容的操作系统

源代码在线查看: check.h

软件大小: 23539 K
上传用户: hwyzy
关键词: WIN WINNT 2003 开放源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* check.h  -  Check and repair a PC/MS-DOS file system */
				
				/* Written 1993 by Werner Almesberger */
				
				
				#ifndef _CHECK_H
				#define _CHECK_H
				
				loff_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
							

相关资源