added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / include / fileio.h
index f3c5300079183b3d23944fc4345b2aa2ee5cc6e4..a2fcc718afa74523d6a359530ebe3004a954d0ef 100644 (file)
@@ -1,7 +1,6 @@
-/*
- * fileio.h
- *
- * $Id$
+/** @file fileio.h
+ * @brief ANSI FILE* clone API declarations.
+ * @version $Id$
  */
 #ifndef INCLUDED_fileio_h
 #define INCLUDED_fileio_h
 
 struct stat;
 
-/*
- * FileBuf is a mirror of the ANSI FILE struct, but it works for any
+/** A mirror of the ANSI FILE struct, but it works for any
  * file descriptor. FileBufs are allocated when a file is opened with
  * fbopen, and they are freed when the file is closed using fbclose.
+ * (Some OSes limit the range of file descriptors in a FILE*, for
+ * example to fit in "char".)
  */
 typedef struct FileBuf FBFILE;
 
@@ -34,7 +34,7 @@ extern FBFILE *fdbopen(int fd, const char *mode);
  * close a file opened with fbopen, see fclose(3)
  */
 extern void fbclose(FBFILE * fb);
-/* 
+/*
  * return the next character from the file, EOF on end of file
  * see fgetc(3)
  */