X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Finternals%2F_PDCLIB_config.h;h=c807a1bc0fdd41fcee5c7ffc5a25e2da3b0e87cf;hb=66c9a724d570ec507c640f6708fe48c4b8ca8b80;hp=7d0933c9578dc11cfb6b35ace013934220ea3300;hpb=745d01f0f01fa22fa6a17851b24c6a34d900ee80;p=pdclib diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index 7d0933c..c807a1b 100644 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -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. */