home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / stdio / fgetpos.txh < prev    next >
Encoding:
Text File  |  1995-07-10  |  362 b   |  22 lines

  1. @node fgetpos, stdio
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <stdio.h>
  6.  
  7. int fgetpos(FILE *file, fpos_t *offset);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This function records the current file pointer for @var{file}, for
  13. later use by @code{fsetpos}.
  14.  
  15. @xref{fsetpos}.
  16. @xref{ftell}.
  17.  
  18. @subheading Return Value
  19.  
  20. Zero if successful, nonzero if not.
  21.  
  22.