home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff384.lzh / NorthC / Example1.LZH / clibs / UNIX / unix.h < prev    next >
C/C++ Source or Header  |  1990-08-30  |  686b  |  38 lines

  1. /*
  2.   (c) 1990 S.Hawtin.
  3.   Permission is granted to copy this file provided
  4.    1) It is not used for commercial gain
  5.    2) This notice is included in all copies
  6.    3) Altered copies are marked as such
  7.  
  8.   No liability is accepted for the contents of the file.
  9.  
  10.   unix.h    within        Public Domain UNIX.lib
  11.  
  12. */
  13.  
  14. #ifndef _UNIX_H
  15. #define _UNIX_H
  16.  
  17. #include <types.h>
  18.  
  19. /* Set up the modes for open() and creat() */
  20.  
  21. #define O_CREAT  1
  22.  
  23.  
  24. /* Define the functions within the library */
  25.  
  26. extern int  close();
  27. extern APTR creat();
  28. extern int  getw();
  29. extern long lseek();
  30. extern APTR open();
  31. extern int  putw();
  32. extern int  read();
  33. extern long tell();
  34. extern int  unlink();
  35. extern int  write();
  36.  
  37. #endif
  38.