| www.delorie.com/djgpp/doc/libc-2.01/libc_301.html | search |
#include <sys/fsext.h> __FSEXT_Function *__FSEXT_get_function(int _fd);
This function is part of the section File System Extensions. It is used internal to libc.a to redirect I/O requests to the appropriate extensions.
_read(int fd, void *buf, int len)
{
__FSEXT_Function *func = __FSEXT_get_function(fd);
if (func)
{
int rv;
if (func(__FSEXT_read, &rv, &fd))
return rv;
}
/* rest of read() */
}
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |