X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fstdio.h;h=19ab8bcdda3e87bba4dd367688af3d7161ae1fe9;hp=a2dc674bb368a510ff34655a7c0d9c2aafe2eb1d;hb=7650390de8f72822ec0d4a9fb5b52efcf0be4698;hpb=b63cab76ec1cd91b518cd3bad72ee993c94d44a2 diff --git a/include/stdio.h b/include/stdio.h index a2dc674b..19ab8bcd 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -159,7 +159,6 @@ char *tempnam(const char *, const char *); char *cuserid(char *); void setlinebuf(FILE *); void setbuffer(FILE *, char *, size_t); -int fpurge(FILE *); int fgetc_unlocked(FILE *); int fputc_unlocked(int, FILE *); int fflush_unlocked(FILE *); @@ -169,6 +168,12 @@ void clearerr_unlocked(FILE *); int feof_unlocked(FILE *); int ferror_unlocked(FILE *); int fileno_unlocked(FILE *); +int getw(FILE *); +int putw(int, FILE *); +#endif + +#ifdef _BSD_SOURCE +char *fgetln(FILE *, size_t *); #endif #ifdef _GNU_SOURCE @@ -178,7 +183,7 @@ char *fgets_unlocked(char *, int, FILE *); int fputs_unlocked(const char *, FILE *); #endif -#ifdef _LARGEFILE64_SOURCE +#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) #define tmpfile64 tmpfile #define fopen64 fopen #define freopen64 freopen