]> pd.if.org Git - pdclib/blobdiff - platform/example/internals/_PDCLIB_config.h
Minor cleanups.
[pdclib] / platform / example / internals / _PDCLIB_config.h
index 7d0933c9578dc11cfb6b35ace013934220ea3300..c807a1bc0fdd41fcee5c7ffc5a25e2da3b0e87cf 100644 (file)
@@ -229,11 +229,18 @@ typedef char * _PDCLIB_va_list;
 /* The unique file descriptor returned by _PDCLIB_open(). */
 typedef int _PDCLIB_fd_t;
 
+/* The value (of type _PDCLIB_fd_t) returned by _PDCLIB_open() if the operation
+   failed.
+*/
+#define _PDCLIB_NOHANDLE -1
+
 /* A type in which to store file offsets. See fgetpos() / fsetpos(). */
+/* FIXME: The 'int' types here are placeholders. When changed, check out
+   stdinit.c, too. */
 typedef struct
 {
     int position;
-    int parse_state;
+    int mbstate;
 } _PDCLIB_fpos_t;
 
 /* The default size for file buffers. Must be at least 256. */