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 / tell.c < prev    next >
C/C++ Source or Header  |  1990-08-30  |  477b  |  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.   tell.c    within        Public Domain UNIX.lib
  11.  
  12. */
  13.  
  14. #include <types.h>
  15. #include "unix.h"
  16.  
  17. extern long Seek();
  18.  
  19. long
  20. tell(handle)
  21.     APTR handle;
  22.    {/* Find the current file location */
  23.     return(Seek(handle,0L,0L));
  24.     }
  25.