home *** CD-ROM | disk | FTP | other *** search
/ Quake 'em / QUAKEEM.BIN / quake / programs / qdtool10 / fileutil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-03  |  1.0 KB  |  28 lines

  1. /*
  2.  * Copyright (C) 1996 by Chris Johnson.  All rights reserved.
  3.  *
  4.  * Permission to use, copy, modify, and distribute this software and
  5.  * its documentation for any purpose and without fee is hereby
  6.  * granted, provided that the above copyright notice appear in all
  7.  * copies and that both that copyright notice and this permission
  8.  * notice appear in supporting documentation.  If more than a few
  9.  * lines of this code are used in a program which displays a copyright
  10.  * notice or credit notice, the following acknowledgment must also be
  11.  * displayed on the same screen: "This product includes software
  12.  * developed by Chris Johnson for use in the QuakeDef Tools package."
  13.  * THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESSED OR IMPLIED
  14.  * WARRANTY.
  15.  *
  16.  * (Thanks to Raphael Quinet for this nifty disclaimer!)
  17.  */
  18.  
  19. #ifndef _FILEUTIL_H_
  20. #define _FILEUTIL_H_
  21.  
  22. #define BLOCK_SIZE    BUFSIZ
  23.  
  24. int        fexist(const char *filename);
  25. FILE *    safeopen(const char *filename, const char *mode);
  26. int     copy(FILE *dest, FILE *src, unsigned long len);
  27.  
  28. #endif