X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fexample%2Finternals%2F_PDCLIB_config.h;h=5c7210ad763c693b47cb0d8d693f2cf370eadb0c;hp=7d0933c9578dc11cfb6b35ace013934220ea3300;hb=ac888cf8ada81fe577ba3da053be3379b85b6499;hpb=519443d45a417a108fc47caaf790efc963d8d3f6 diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index 7d0933c..5c7210a 100644 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -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 {