delorie.com/djgpp/doc/libc/libc_370.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_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

ANSI/ISO C No
POSIX No

Example

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

_fwalk(pfile);

  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004