X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=internals%2F_PDCLIB_int.h;h=e449e2db53b6c9cae3ccb90eee17ee3a501912d5;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=e997b08f4646978f781dc504ddfa5d474b22ab2a;hpb=2040228f27d623585d339dec175c4e779ca9edb5;p=pdclib diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index e997b08..e449e2d 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -257,7 +257,7 @@ typedef unsigned _PDCLIB_intmax _PDCLIB_uintmax_t; */ #define _PDCLIB_FREAD 8u #define _PDCLIB_FWRITE 16u -#define _PDCLIB_FAPPEND 32u +#define _PDCLIB_FAPPEND 32u #define _PDCLIB_FRW 64u #define _PDCLIB_FBIN 128u @@ -380,7 +380,7 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status ) /* Parsing any fopen() style filemode string into a number of flags. */ unsigned int _PDCLIB_filemode( const char * mode ); -/* Sanity checking and preparing of read buffer, should be called first thing +/* Sanity checking and preparing of read buffer, should be called first thing by any stdio read-data function. Returns 0 on success, EOF on error. On error, EOF / error flags and errno are set appropriately.