home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / zip22.zip / cmsmvs / zipup.h < prev    next >
Text File  |  1997-08-17  |  711b  |  21 lines

  1. /*
  2.  
  3.  Copyright (C) 1990-1996 Mark Adler, Richard B. Wales, Jean-loup Gailly,
  4.  Kai Uwe Rommel, Onno van der Linden, George Petrov 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. #define fhow  "r"    /* maybe recfm=f ? */
  12. #define fhowb "rb"   /* maybe recfm=f ? */
  13.  
  14. #define fbad NULL
  15. typedef FILE *ftype;
  16. #define zopen(n,p)   (ftype)fopen((n),(p))
  17. #define zread(f,b,n) fread((b),1,(n),(FILE*)(f))
  18. #define zclose(f)    fclose((FILE*)(f))
  19. #define zerr(f)      ferror((FILE*)(f))
  20. #define zstdin       stdin
  21.