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

  1. @node _fwalk, stdio
  2. @subheading Syntax
  3.  
  4. @example
  5. void _fwalk(void (*function)(FILE *file));
  6. @end example
  7.  
  8. @subheading Description
  9.  
  10. For each open file in the system, the given @var{function} is called,
  11. passing the file pointer as it's only argument
  12.  
  13. @subheading Return Value
  14.  
  15. None.
  16.  
  17. @subheading Example
  18.  
  19. @example
  20. void pfile(FILE *x)
  21. @{ printf("FILE at %p\n", x); @}
  22.  
  23. _fwalk(pfile);
  24. @end example
  25.