home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / famapi.zip / INCLUDE.ZIP / SHARE.H < prev    next >
C/C++ Source or Header  |  1993-06-13  |  716b  |  23 lines

  1. //
  2. //      **************************************************************
  3. //       JdeBP C++ Library Routines      General Public Licence v1.00
  4. //          Copyright (c) 1991,1992  Jonathan de Boyne Pollard
  5. //      **************************************************************
  6. //
  7.  
  8. #if !defined(___OMODE_H_INCLUDED)
  9. #include <_omode.h>
  10. #endif
  11.  
  12. //
  13. // These are for compatibility with Microsoft C.  The correct prefix for
  14. // any flag passed in the oflag parameter to open() is O_, and the correct
  15. // place to find it is in <fcntl.h>.
  16. //
  17.  
  18. #define SH_COMPAT   _O_COMPAT
  19. #define SH_DENYRW   _O_DENYALL
  20. #define SH_DENYWR   _O_DENYWRITE
  21. #define SH_DENYRD   _O_DENYREAD
  22. #define SH_DENYNO   _O_DENYNONE
  23.