home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / INCLUDE / SHARE.H < prev    next >
Text File  |  1993-09-17  |  2KB  |  51 lines

  1. #pragma info( none )
  2. #ifndef __CHKHDR__
  3.    #pragma info( none )
  4. #endif
  5. #pragma info( restore )
  6.  
  7. #ifndef __share_h
  8.    #define __share_h
  9.  
  10.    #ifdef __cplusplus
  11.       extern "C" {
  12.    #endif
  13.  
  14.    /********************************************************************/
  15.    /*  <share.h> header file                                           */
  16.    /*                                                                  */
  17.    /*  Licensed Materials - Property of IBM                            */
  18.    /*                                                                  */
  19.    /*  IBM C/C++ Tools Version 2.01                                    */
  20.    /*  Copyright (C) International Business Machines Corp., 1991,1993  */
  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.    #if (defined( __SPC__ ) || defined(__EXTENDED__))
  30.  
  31.       /*  This file defines the file sharing modes for _sopen().       */
  32.  
  33.       #define SH_DENYRW       0x10    /* deny read/write mode */
  34.       #define SH_DENYWR       0x20    /* deny write mode */
  35.       #define SH_DENYRD       0x30    /* deny read mode */
  36.       #define SH_DENYNO       0x40    /* deny none mode */
  37.  
  38.    #endif
  39.  
  40.    #ifdef __cplusplus
  41.       }
  42.    #endif
  43.  
  44. #endif
  45.  
  46. #pragma info( none )
  47. #ifndef __CHKHDR__
  48.    #pragma info( restore )
  49. #endif
  50. #pragma info( restore )
  51.