📄 dir.h
字号:
/*
**************************************************************
*
* hyperstone MS-DOS FAT File System Drivers
*
* Directory related definitions
*
* Christoph Baumhof 2000-03-21
* Reinhard K乭ne 2000-03-21
* Mihajlo Varga 2000-03-21
*
* Copyright (C) 1997-2000 hyperstone electronics GmbH Konstanz
*
* 2000-03-21 initial release
*
* $Id$
*
* $Log$
*
**************************************************************
*
* Changes:
*
**************************************************************
*/
#if !defined(__DIR_H)
#define __DIR_H
#ifndef _FFBLK_DEF
#define _FFBLK_DEF
struct ffblk {
long DirIndex;
struct directory *Dir;
char ff_reserved[13];
char ff_attrib;
unsigned short ff_ftime;
unsigned short ff_fdate;
long ff_fsize;
char ff_name[13];
};
#endif
#define WILDCARDS 0x01
#define EXTENSION 0x02
#define FILENAME 0x04
#define DIRECTORY 0x08
#define DRIVE 0x10
#define MAXPATH 80
#define MAXDRIVE 3
#define MAXDIR 66
#define MAXFILE 9
#define MAXEXT 5
int chdir( const char *__path );
int findfirst( const char *__path, struct ffblk *__ffblk, int __attrib );
int findnext( struct ffblk *__ffblk );
void fnmerge( char *__path, const char *__drive, const char *__dir,
const char *__name,
const char *__ext );
int _fnsplit(const char *__path, char *__drive, char *__dir, char *__name,
char *__ext );
int fnsplit( const char *__path, char *__drive, char *__dir, char *__name,
char *__ext );
int getcurdir( int __drive, char *__directory );
char *getcwd( char *__buf, int __buflen );
int getdisk( void );
int mkdir( const char *__path );
char *mktemp( char *__template );
int rmdir( const char *__path );
char * searchpath( const char *__file );
int setdisk( int __drive );
#endif /* __DIR_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -