return fd;
}
+/**
+ * Close file \a fd.
+ * This is a generic implementation that only return 0.
+ */
+int kfile_genericClose(UNUSED_ARG(struct KFile *, fd))
+{
+ return 0;
+};
+
*/
struct KFile * kfile_genericReopen(struct KFile *fd);
+int kfile_genericClose(struct KFile *fd);
+
int kfile_putc(int c, struct KFile *fd); ///< Generic putc implementation using kfile_write.
int kfile_getc(struct KFile *fd); ///< Generic getc implementation using kfile_read.
int kfile_printf(struct KFile *fd, const char *format, ...);