home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1994 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1994.iso
/
win3
/
patches
/
symantec
/
rtlinc.exe
/
DIRECT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-09-20
|
1KB
|
54 lines
/*_ direct.h Mon Jun 4 1990 Modified by: Walter Bright */
/* $Revision: 1.9 $ */
#ifndef __DIRECT_H
#define __DIRECT_H
#ifndef __CLIB_H
#include <clib.h>
#endif
#if __cplusplus
extern "C" {
#endif
/* These defines are supplied for Borland compatability */
#define MAXPATH 80
#define MAXDRIVE 3
#define MAXDIR 66
#define MAXFILE 9
#define MAXEXT 5
#define WILDCARDS 0x01
#define EXTENSION 0x02
#define FILENAME 0x04
#define DIRECTORY 0x08
#define DRIVE 0x10
typedef unsigned size_t;
char *searchpath(const char *);
void fnmerge( char *,const char *,const char *,
const char *,const char *);
int fnsplit( const char *,char *,char *,char *,char *);
char * __cdecl getcwd(char *,size_t);
char * __CLIB _getdcwd(int drive,char *Pbuf,int PbufLen);
int __CLIB getcurdir(int drive,char *dir);
int __cdecl _chdrive(int);
int __cdecl _getdrive(void);
int __cdecl chdir(const char *);
int __cdecl mkdir(const char *);
int __cdecl rmdir(const char *);
#define _chdir(direc) chdir(direc)
#define _mkdir mkdir
#define _rmdir rmdir
#define _getcwd(direc,len) getcwd(direc,len)
#if __cplusplus
}
#endif
#endif