diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2001-03-01 05:22:14 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2001-03-01 05:22:14 +0000 |
| commit | 45d80087483bd81f5ba69a7bbb3b5b5ba954d97c (patch) | |
| tree | 252f6a15dd833a32dd6c473908da0e4d3aeb5e34 /lib/libc/stdio/local.h | |
| parent | 3b5b529f2e39bfd71609074a705f35e5a13e38a3 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/local.h')
| -rw-r--r-- | lib/libc/stdio/local.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h index 2f95a58e9081..4f5242a917d1 100644 --- a/lib/libc/stdio/local.h +++ b/lib/libc/stdio/local.h @@ -39,6 +39,7 @@ */ #include <sys/types.h> /* for off_t */ +#include <pthread.h> /* * Information local to this implementation of stdio, @@ -67,6 +68,15 @@ extern int __vfprintf __P((FILE *, const char *, _BSD_VA_LIST_)); extern int __sdidinit; + +/* hold a buncha junk that would grow the ABI */ +struct __sFILEX { + unsigned char *_up; /* saved _p when _p is doing ungetc data */ + pthread_mutex_t fl_mutex; /* used for MT-safety */ + pthread_t fl_owner; /* current owner */ + int fl_count; /* recursive lock count */ +}; + /* * Return true iff the given FILE cannot be written now. */ |
