X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Finternals%2F_PDCLIB_config.h;h=5c7210ad763c693b47cb0d8d693f2cf370eadb0c;hb=c6ad2955369a21831b1c08dc432777a32aaa31c3;hp=7d0933c9578dc11cfb6b35ace013934220ea3300;hpb=64249b24c5f43657d36c9b04165afb88e000bf78;p=pdclib.old 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 {