X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstdio.h;h=355f4259dedf337827307e90719fead8bd3f763f;hb=3777f5b90d25b2cafc5fd7be57580f1925fb5515;hp=f087d9f223bc1c0ff758513e2e0d18661335a27d;hpb=b158b32a44d56ef20407d4285b58180447ffff1f;p=musl diff --git a/include/stdio.h b/include/stdio.h index f087d9f2..355f4259 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -121,6 +121,7 @@ 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 *); @@ -160,6 +161,22 @@ 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