diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-11 22:50:02 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-11 22:50:02 -0400 |
commit | ce17ea6f2cae0c0c1c14dac5c7c7330f2503d069 (patch) | |
tree | 92bba94bc2f443cab20ba9a6cf51f3c23d9b14ac | |
parent | a6540174be064806b6eb4dc6abff48a9b4facfdd (diff) | |
download | musl-ce17ea6f2cae0c0c1c14dac5c7c7330f2503d069.tar.gz musl-ce17ea6f2cae0c0c1c14dac5c7c7330f2503d069.tar.bz2 musl-ce17ea6f2cae0c0c1c14dac5c7c7330f2503d069.tar.xz musl-ce17ea6f2cae0c0c1c14dac5c7c7330f2503d069.zip |
add prototypes for GNU *_unlocked stdio functions
actually these are just weak aliases for the normal locking versions
right now, and they will probably stay that way since making them
lock-free without slowing down the normal versions would require
significant code duplication for no benefit.
-rw-r--r-- | include/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index 268338b5..dca8acc0 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -161,6 +161,10 @@ 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 __cplusplus |