home *** CD-ROM | disk | FTP | other *** search
- /***
- *direct.h - function declarations for directory handling/creation
- *
- * Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
- *
- *Purpose:
- * This include file contains the function declarations for the library
- * functions related to directory handling and creation.
- *
- ****/
-
- #ifndef _INC_DIRECT
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if defined(_DLL) && !defined(_MT)
- #error Cannot define _DLL without _MT
- #endif
-
- #ifdef _MT
- #define _FAR_ __far
- #else
- #define _FAR_
- #endif
-
- #if (_MSC_VER <= 600)
- #define __cdecl _cdecl
- #define __far _far
- #define __loadds _loadds
- #endif
-
- #ifndef _SIZE_T_DEFINED
- typedef unsigned int size_t;
- #define _SIZE_T_DEFINED
- #endif
-
- /* function prototypes */
-
- int _FAR_ __cdecl _chdir(const char _FAR_ *);
- int _FAR_ __cdecl _chdrive(int);
- char _FAR_ * _FAR_ __cdecl _getcwd(char _FAR_ *, int);
- char _FAR_ * _FAR_ __cdecl _getdcwd(int, char _FAR_ *, int);
- int _FAR_ __cdecl _getdrive(void);
- int _FAR_ __cdecl _mkdir(const char _FAR_ *);
- int _FAR_ __cdecl _rmdir(const char _FAR_ *);
-
- #ifndef __STDC__
- /* Non-ANSI names for compatibility */
- int _FAR_ __cdecl chdir(const char _FAR_ *);
- char _FAR_ * _FAR_ __cdecl getcwd(char _FAR_ *, int);
- int _FAR_ __cdecl mkdir(const char _FAR_ *);
- int _FAR_ __cdecl rmdir(const char _FAR_ *);
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #define _INC_DIRECT
- #endif /* _INC_DIRECT */
-