/* $Id$ */\r
\r
-/* _PDCLIB_fdopen( _PDCLIB_fd_t fd, const char * )\r
+/* _PDCLIB_fvopen( _PDCLIB_fd_t fd, _PDCLIB_fileops_t * )\r
\r
This file is part of the Public Domain C Library (PDCLib).\r
Permission is granted to use, modify, and / or redistribute at will.\r
\r
extern struct _PDCLIB_file_t * _PDCLIB_filelist;\r
\r
-struct _PDCLIB_file_t * _PDCLIB_fdopen( _PDCLIB_fd_t fd, \r
+struct _PDCLIB_file_t * _PDCLIB_fvopen( _PDCLIB_fd_t fd, \r
+ const _PDCLIB_fileops_t * ops,\r
int mode,\r
const char * _PDCLIB_restrict filename )\r
{\r
}\r
\r
rc->status = mode;\r
+ rc->ops = ops;\r
rc->handle = fd;\r
/* Setting pointers into the memory block allocated above */\r
rc->ungetbuf = (unsigned char *)rc + sizeof( struct _PDCLIB_file_t );\r