home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / m / makedrawf / Source / h / lowfile < prev    next >
Encoding:
Text File  |  1995-04-26  |  509 b   |  18 lines

  1. /* >h.lowfile */
  2.  
  3. /* header file for my low-level file access commands */
  4.  
  5. int  low_open(char *name,int mode);
  6. void low_close(int handle);
  7. int  low_eof(int handle);
  8. int  low_read(int handle, void *buffer, int nbytes);
  9. void low_write(int handle, void *buffer, int nbytes);
  10. int  low_ptr(int handle);
  11. void low_setptr(int handle, int ptr);
  12. int  low_extent(int handle);
  13. int  save_file(char *filename, void *address, int nbytes, int filetype);
  14.  
  15. #define low_READ 0x40
  16. #define low_CREATE 0x80
  17. #define low_UPDATE 0xC0
  18.