Go to the first, previous, next, last section, table of contents.


_fwalk

Syntax

#include <libc/file.h>

void _fwalk(void (*function)(FILE *file));

Description

For each open file in the system, the given function is called, passing the file pointer as its only argument.

Return Value

None.

Portability

not ANSI, not POSIX

Example

void pfile(FILE *x)
{ printf("FILE at %p\n", x); }

_fwalk(pfile);


Go to the first, previous, next, last section, table of contents.