]> wimlib.net Git - wimlib/blobdiff - include/wimlib/file_io.h
Miscellaneous fixes and cleanups
[wimlib] / include / wimlib / file_io.h
index de59cfa07d8b9be48d0a1efcb123c1b5f1723c91..85f293f13a1023e6c21dcf639880b91dbe3353ce 100644 (file)
@@ -4,6 +4,9 @@
 #include <stddef.h>
 #include <sys/types.h>
 
+/* Wrapper around a file descriptor that keeps track of offset (including in
+ * pipes, which don't support lseek()) and a cached flag that tells whether the
+ * file descriptor is a pipe or not.  */
 struct filedes {
        int fd;
        unsigned int is_pipe : 1;