home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip21.zip / unix / zipup.h < prev   
C/C++ Source or Header  |  1996-04-05  |  618b  |  22 lines

  1. /*
  2.  
  3.  Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly,
  4.  Kai Uwe Rommel, Onno van der Linden and Igor Mandrichenko.
  5.  Permission is granted to any individual or institution to use, copy, or
  6.  redistribute this software so long as all of the original files are included,
  7.  that it is not sold for profit, and that this copyright notice is retained.
  8.  
  9. */
  10.  
  11. #ifndef O_RDONLY
  12. #  define O_RDONLY 0
  13. #endif
  14. #define fhow O_RDONLY
  15. #define fbad (-1)
  16. typedef int ftype;
  17. #define zopen(n,p) open(n,p)
  18. #define zread(f,b,n) read(f,b,n)
  19. #define zclose(f) close(f)
  20. #define zerr(f) (k == (extent)(-1L))
  21. #define zstdin 0
  22.