]> pd.if.org Git - pdclib/blobdiff - platform/example/internals/_PDCLIB_config.h
Wrong type for open() parameter; fixed. Added _PDCLIB_NOHANDLE to _PDCLIB_config.h.
[pdclib] / platform / example / internals / _PDCLIB_config.h
index 7d0933c9578dc11cfb6b35ace013934220ea3300..5c7210ad763c693b47cb0d8d693f2cf370eadb0c 100644 (file)
@@ -229,6 +229,11 @@ 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(). */
 typedef struct
 {