return XfdLink(fd, msg, file, line);
}
+/**
+ */
+ssize_t fdRead(void * cookie, char * buf, size_t count)
+{
+ return fdio->read(cookie, buf, count);
+}
+
+/**
+ */
static ssize_t __fdRead(void * cookie, char * buf, size_t count)
{
FD_t fd = c2f(cookie);
return rc;
}
+/**
+ */
+ssize_t fdWrite(void * cookie, const char * buf, size_t count)
+{
+ return fdio->write(cookie, buf, count);
+}
+
+/**
+ */
static ssize_t __fdWrite(void * cookie, const char * buf, size_t count)
{
FD_t fd = c2f(cookie);
return rc;
}
+/**
+ */
+int fdClose( void * cookie)
+{
+ return fdio->close(cookie);
+}
+
+/**
+ */
static int __fdClose( void * cookie)
{
FD_t fd;
return rc;
}
+/**
+ */
+FD_t fdOpen(const char *path, int flags, mode_t mode)
+{
+ return fdio->_open(path, flags, mode);
+}
+
+/**
+ */
static FD_t __fdOpen(const char *path, int flags, mode_t mode)
{
FD_t fd;