home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip21.zip / msdos / zipup.h < prev   
Text File  |  1996-04-05  |  625b  |  19 lines

  1. /*
  2.  
  3.  Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly,
  4.  Onno van der Linden, Christian Spieler and Kai Uwe Rommel.
  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. #define fhow         (O_RDONLY|O_BINARY)
  12. #define fbad         (-1)
  13. typedef int          ftype;
  14. #define zopen(n,p)   open(n,p)
  15. #define zread(f,b,n) read(f,b,n)
  16. #define zclose(f)    close(f)
  17. #define zerr(f)      (k == (extent)(-1L))
  18. #define zstdin       0
  19.