projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
release notes for 0.9.6
[musl]
/
src
/
internal
/
stdio_impl.h
diff --git
a/src/internal/stdio_impl.h
b/src/internal/stdio_impl.h
index
5ec296f
..
65dcfbd
100644
(file)
--- a/
src/internal/stdio_impl.h
+++ b/
src/internal/stdio_impl.h
@@
-57,7
+57,7
@@
struct __FILE_s {
int waiters;
void *cookie;
off_t off;
int waiters;
void *cookie;
off_t off;
-
int (*flush)(FILE *)
;
+
char *getln_buf
;
void *mustbezero_2;
unsigned char *shend;
off_t shlim, shcnt;
void *mustbezero_2;
unsigned char *shend;
off_t shlim, shcnt;
@@
-69,6
+69,8
@@
size_t __stdout_write(FILE *, const unsigned char *, size_t);
off_t __stdio_seek(FILE *, off_t, int);
int __stdio_close(FILE *);
off_t __stdio_seek(FILE *, off_t, int);
int __stdio_close(FILE *);
+size_t __string_read(FILE *, unsigned char *, size_t);
+
int __toread(FILE *);
int __towrite(FILE *);
int __toread(FILE *);
int __towrite(FILE *);
@@
-86,8
+88,8
@@
int __putc_unlocked(int, FILE *);
FILE *__fdopen(int, const char *);
FILE *__fdopen(int, const char *);
-#define OFLLOCK() LOCK(
&
libc.ofl_lock)
-#define OFLUNLOCK() UNLOCK(
&
libc.ofl_lock)
+#define OFLLOCK() LOCK(libc.ofl_lock)
+#define OFLUNLOCK() UNLOCK(libc.ofl_lock)
#define feof(f) ((f)->flags & F_EOF)
#define ferror(f) ((f)->flags & F_ERR)
#define feof(f) ((f)->flags & F_EOF)
#define ferror(f) ((f)->flags & F_ERR)