X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=platform%2Fexample%2Finternals%2F_PDCLIB_config.h;h=c807a1bc0fdd41fcee5c7ffc5a25e2da3b0e87cf;hb=29faf8750ba4a051038ae5ff09a54920f0c74e81;hp=7d0933c9578dc11cfb6b35ace013934220ea3300;hpb=a33bc00368895ce9eb6d831428c3870067f1b19b;p=pdclib.old 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. */