summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/llib-lc
diff options
context:
space:
mode:
authorcraigm <none@none>2006-04-20 08:17:22 -0700
committercraigm <none@none>2006-04-20 08:17:22 -0700
commita5f69788de7ac07553de47f7fec8c05a9a94c105 (patch)
tree2004e6a579b5b69b2edd0a65453e5a2d7d174f4f /usr/src/lib/libc/port/llib-lc
parent9c6cb9fca0da6c80b32c97869c5672999211da26 (diff)
downloadillumos-joyent-a5f69788de7ac07553de47f7fec8c05a9a94c105.tar.gz
PSARC 2006/162 Extended FILE space for 32-bit Solaris processes
1085341 32-bit stdio routines should support file descriptors >255 6369408 fflush(NULL); will corrupt data written on files in multithreaded apps
Diffstat (limited to 'usr/src/lib/libc/port/llib-lc')
-rw-r--r--usr/src/lib/libc/port/llib-lc11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr/src/lib/libc/port/llib-lc b/usr/src/lib/libc/port/llib-lc
index 9930b72c9c..0c213a116c 100644
--- a/usr/src/lib/libc/port/llib-lc
+++ b/usr/src/lib/libc/port/llib-lc
@@ -145,6 +145,7 @@
#include <spawn.h>
#include <inttypes.h>
#include <getopt.h>
+#include <stdio_ext.h>
#if defined(__i386)
#include <sys/sysi86.h>
#endif
@@ -1709,16 +1710,6 @@ extern int getloadavg(double [], int);
extern long pcsample(uintptr_t [], long);
-extern size_t __fbufsize(FILE *stream);
-extern int __freading(FILE *stream);
-extern int __fwriting(FILE *stream);
-extern int __freadable(FILE *stream);
-extern int __fwritable(FILE *stream);
-extern int __flbf(FILE *stream);
-extern void __fpurge(FILE *stream);
-extern size_t __fpending(FILE *stream);
-extern void _flushlbf(void);
-
int fstat(int, struct stat *);
int stat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);