X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=internals%2F_PDCLIB_int.h;h=a0a63704f889bc033c2b8aee4b2d8ce672f1ac0c;hb=4e4b49a7f39364583df853d6776c05c952666ddf;hp=1cc8c018c834ad9ade5702a48856b6256082c60a;hpb=d828dd855f3cb73434171fce21ea50756fec558a;p=pdclib.old 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 */