home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / cppbeta / incla / direct.h__ / DIRECT.H
Encoding:
C/C++ Source or Header  |  1992-09-28  |  1.9 KB  |  57 lines

  1. #ifndef __direct_h
  2.    #define __direct_h
  3.  
  4.    #pragma info( none )
  5.    #ifndef __CHKHDR__
  6.       #pragma info( none )
  7.    #endif
  8.    #pragma info( restore )
  9.  
  10.    #ifdef __cplusplus
  11.       extern "C" {
  12.    #endif
  13.  
  14.    /********************************************************************/
  15.    /*  <direct.h> header file                                          */
  16.    /*                                                                  */
  17.    /*  Licensed Materials - Property of IBM                            */
  18.    /*                                                                  */
  19.    /*  IBM C Set/2 Beta Version                                        */
  20.    /*  Copyright (C) International Business Machines Corp., 1991,1992  */
  21.    /*  All rights reserved                                             */
  22.    /*                                                                  */
  23.    /*  US Government Users Restricted Rights -                         */
  24.    /*  Use, duplication, or disclosure restricted                      */
  25.    /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  26.    /*                                                                  */
  27.    /********************************************************************/
  28.  
  29.    int    _Optlink _chdir( char * );
  30.    char * _Optlink _getcwd( char *, int );
  31.    int    _Optlink _mkdir( char * );
  32.    int    _Optlink _rmdir( char * );
  33.    int    _Optlink _chdrive( int );
  34.    char * _Optlink _getdcwd( int , char *, int );
  35.    int    _Optlink _getdrive( void );
  36.  
  37.    #if defined(__EXTENDED__)
  38.  
  39.       #define chdir( a )        _chdir((a))
  40.       #define getcwd( a , b )   _getcwd((a),(b))
  41.       #define mkdir( a )        _mkdir((a))
  42.       #define rmdir( a )        _rmdir((a))
  43.  
  44.    #endif
  45.  
  46.    #ifdef __cplusplus
  47.       }
  48.    #endif
  49.  
  50.    #pragma info( none )
  51.    #ifndef __CHKHDR__
  52.       #pragma info( restore )
  53.    #endif
  54.    #pragma info( restore )
  55.  
  56. #endif
  57.