home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / diverses / jpl_c / rewind.c < prev    next >
Encoding:
C/C++ Source or Header  |  1986-05-18  |  768 b   |  23 lines

  1. /* 1.0  12-17-84 */
  2. /************************************************************************
  3.  *            Robert C. Tausworthe                *
  4.  *            Jet Propulsion Laboratory            *
  5.  *            Pasadena, CA 91009        1984        *
  6.  ************************************************************************/
  7.  
  8. #include "defs.h"
  9. #include "stdtyp.h"
  10. #include "stdio.h"
  11.  
  12. /************************************************************************/
  13.     METACHAR
  14. rewind(fp)        /* Set the FILE fp to the ORIGIN. Return EOF on    
  15.                error.                    */
  16. /*----------------------------------------------------------------------*/
  17. FILE *fp;
  18. {
  19.     METACHAR fseek();
  20.  
  21.     return fseek(fp, 0L, ORIGIN);
  22. }
  23.