#include <libc/file.h> void _fwalk(void (*function)(FILE *file));
For each open file in the system, the given function is called, passing the file pointer as its only argument.
None.
not ANSI, not POSIX
void pfile(FILE *x) { printf("FILE at %p\n", x); } _fwalk(pfile);
Go to the first, previous, next, last section, table of contents.