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 / read.c < prev    next >
C/C++ Source or Header  |  1990-08-30  |  494b  |  25 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.   read.c    within        Public Domain UNIX.lib
  11.  
  12. */
  13.  
  14. #include <types.h>
  15. #include "unix.h"
  16.  
  17. int
  18. read(handle,buf,count)
  19.     APTR handle;
  20.     char *buf;
  21.     int  count;
  22.    {/* Read from the file */
  23.     return(Read(handle,buf,(long)count));
  24.     }
  25.