X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstdio.h;h=355f4259dedf337827307e90719fead8bd3f763f;hb=37bb3cce4598c19288628e675eaf1cda6e96958f;hp=69178cc873c67df35d0d743cbd20523ee4fe03df;hpb=e72180083e4b0203d1883b6054198decdb60071c;p=musl diff --git a/include/stdio.h b/include/stdio.h index 69178cc8..355f4259 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -121,6 +121,8 @@ FILE *tmpfile(void); #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +FILE *fmemopen(void *, size_t, const char *); +FILE *open_memstream(char **, size_t *); FILE *fdopen(int, const char *); FILE *popen(const char *, const char *); int pclose(FILE *); @@ -158,6 +160,23 @@ int asprintf(char **, const char *, ...); int vasprintf(char **, const char *, va_list); void setlinebuf(FILE *); void setbuffer(FILE *, char *, size_t); +int fpurge(FILE *); +int fgetc_unlocked(FILE *); +int fputc_unlocked(int, FILE *); +char *fgets_unlocked(char *, int, FILE *); +int fputs_unlocked(const char *, FILE *); +#endif + +#ifdef _LARGEFILE64_SOURCE +#define tmpfile64 tmpfile +#define fopen64 fopen +#define freopen64 freopen +#define fseeko64 fseeko +#define ftello64 ftello +#define fgetpos64 fgetpos +#define fsetpos64 fsetpos +#define fpos64_t fpos_t +#define off64_t off_t #endif #ifdef __cplusplus