#include <sys/fsext.h> int __FSEXT_add_open_handler(__FSEXT_Function *_function);
This function is part of the section File System Extensions. It is used
to add a handler for functions that do not get passed descriptors,
such as _open
and _creat
.
not ANSI, not POSIX
static int _my_handler(__FSEXT_Fnumber n, int *rv, va_list args) { . . . } int main() { __FSEXT_add_open_handler(_my_handler); }
Go to the first, previous, next, last section, table of contents.