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

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