X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=internals%2F_PDCLIB_int.h;h=a0a63704f889bc033c2b8aee4b2d8ce672f1ac0c;hp=1cc8c018c834ad9ade5702a48856b6256082c60a;hb=d2c64b8390799b64a24609e689ef87dec9b74dea;hpb=411075741c64943c959673de5ac32042b12bc6bb diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index 1cc8c01..a0a6370 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -257,10 +257,14 @@ typedef unsigned _PDCLIB_intmax _PDCLIB_uintmax_t; /* Flags for representing mode (see fopen()). */ #define _PDCLIB_FREAD 1u #define _PDCLIB_FWRITE 2u -#define _PDCLIB_FAPPEND 4u +#define _PDCLIB_FAPPEND 4u #define _PDCLIB_FRW 8u #define _PDCLIB_FBIN 16u +/* Internal flags, made to fit the same status field as the flags above. */ +#define _PDCLIB_WROTELAST 32u +#define _PDCLIB_LIBBUFFER 64u + struct _PDCLIB_file_t { _PDCLIB_fd_t handle; /* OS-specific file descriptor */