www.delorie.com/djgpp/doc/libc/libc_356.html   search  
libc.a reference

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

__FSEXT_add_open_handler

Syntax

 
#include <sys/fsext.h>

int __FSEXT_add_open_handler(__FSEXT_Function *_function);

Description

This function is part of the File System Extensions. It is used to add a handler for functions that do not get passed descriptors, such as _open and _creat.

Portability

ANSI/ISO C No
POSIX No

Example

 
static int
_my_handler(__FSEXT_Fnumber n, int *rv, va_list args)
{
  . . .
}

int main()
{
  __FSEXT_add_open_handler(_my_handler);
}


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004