home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / libc / share.h < prev    next >
Text File  |  1999-03-15  |  1KB  |  50 lines

  1. #if __IBMC__ || __IBMCPP__
  2. #pragma info( none )
  3. #ifndef __CHKHDR__
  4.    #pragma info( none )
  5. #endif
  6. #pragma info( restore )
  7. #endif
  8.  
  9. #ifndef __share_h
  10.    #define __share_h
  11.  
  12.    #ifdef __cplusplus
  13.       extern "C" {
  14.    #endif
  15.  
  16.    /********************************************************************/
  17.    /*  <share.h> header file                                           */
  18.    /*                                                                  */
  19.    /*  (C) Copyright IBM Corp. 1991, 1995.                             */
  20.    /*  - Licensed Material - Program-Property of IBM                   */
  21.    /*  - All rights reserved                                           */
  22.    /*                                                                  */
  23.    /********************************************************************/
  24.  
  25.    #if (defined( __SPC__ ) || defined(__EXTENDED__))
  26.  
  27.       /*  This file defines the file sharing modes for _sopen().       */
  28.  
  29.       #define SH_DENYRW       0x10    /* deny read/write mode */
  30.       #define SH_DENYWR       0x20    /* deny write mode */
  31.       #define SH_DENYRD       0x30    /* deny read mode */
  32.       #define SH_DENYNO       0x40    /* deny none mode */
  33.  
  34.    #endif
  35.  
  36.    #ifdef __cplusplus
  37.       }
  38.    #endif
  39.  
  40. #endif
  41.  
  42. #if __IBMC__ || __IBMCPP__
  43. #pragma info( none )
  44. #ifndef __CHKHDR__
  45.    #pragma info( restore )
  46. #endif
  47. #pragma info( restore )
  48. #endif
  49.  
  50.