#endif
/* =============================================================== */
-/* FIX: cookie is modified */
+
+/**
+ */
+FD_t fdLink (void * cookie, const char * msg)
+{
+ return fdio->_fdref(cookie, msg, __FILE__, __LINE__);
+}
+
+/**
+ */
static inline FD_t XfdLink(void * cookie, const char * msg,
const char * file, unsigned line)
{
return fd;
}
+/**
+ */
+FD_t fdFree(FD_t fd, const char * msg)
+{
+ return fdio->_fdderef(fd, msg, __FILE__, __LINE__);
+}
+
+/**
+ */
static inline
FD_t XfdFree( FD_t fd, const char *msg,
const char *file, unsigned line)
return NULL;
}
+/**
+ */
+FD_t fdNew (const char * msg)
+{
+ return fdio->_fdnew(msg, __FILE__, __LINE__);
+}
+
+/**
+ */
static inline
FD_t XfdNew(const char * msg, const char * file, unsigned line)
{