Annotation of mstools/h/direct.h, revision 1.1

1.1     ! root        1: /***
        !             2: *direct.h - function declarations for directory handling/creation
        !             3: *
        !             4: *      Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved.
        !             5: *
        !             6: *Purpose:
        !             7: *      This include file contains the function declarations for the library
        !             8: *      functions related to directory handling and creation.
        !             9: *
        !            10: ****/
        !            11: 
        !            12: #ifndef _INC_DIRECT
        !            13: 
        !            14: #ifdef __cplusplus
        !            15: extern "C" {
        !            16: #endif
        !            17: 
        !            18: 
        !            19: #if (_MSC_VER <= 600)
        !            20: #define __cdecl _cdecl
        !            21: #endif
        !            22: 
        !            23: #ifndef _SIZE_T_DEFINED
        !            24: typedef unsigned int size_t;
        !            25: #define _SIZE_T_DEFINED
        !            26: #endif
        !            27: 
        !            28: /* _getdiskfree structure for _getdiskfree() */
        !            29: 
        !            30: #ifndef _DISKFREE_T_DEFINED
        !            31: 
        !            32: struct _diskfree_t {
        !            33:        unsigned total_clusters;
        !            34:        unsigned avail_clusters;
        !            35:        unsigned sectors_per_cluster;
        !            36:        unsigned bytes_per_sector;
        !            37:        };
        !            38: 
        !            39: #define _DISKFREE_T_DEFINED
        !            40: 
        !            41: #endif
        !            42: 
        !            43: /* function prototypes */
        !            44: 
        !            45: int _chdir(const char *);
        !            46: int _chdrive(int);
        !            47: char * _getcwd(char *, int);
        !            48: char * _getdcwd(int, char *, int);
        !            49: int _getdrive(void);
        !            50: int _mkdir(const char *);
        !            51: int _rmdir(const char *);
        !            52: unsigned _getdiskfree(unsigned, struct _diskfree_t *);
        !            53: unsigned long _getdrives(void);
        !            54: 
        !            55: #if !__STDC__
        !            56: /* Non-ANSI names for compatibility */
        !            57: #define chdir  _chdir
        !            58: #define getcwd _getcwd
        !            59: #define mkdir  _mkdir
        !            60: #define rmdir  _rmdir
        !            61: #define diskfree_t  _diskfree_t
        !            62: #endif /* __STDC__ */
        !            63: 
        !            64: #ifdef __cplusplus
        !            65: }
        !            66: #endif
        !            67: 
        !            68: #define _INC_DIRECT
        !            69: #endif /* _INC_DIRECT */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.