summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/findfp.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-02-12 02:50:30 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-02-12 02:50:30 +0000
commit9b8ff47f4023767b151d8e204104c8452b44a53b (patch)
tree05a8601802a437b67f9b1b0f0e3ea9ec7fe32c6c /lib/libc/stdio/findfp.c
parent4be19dddae3c7fc8f074b7ab3aa410a48713662b (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/findfp.c')
-rw-r--r--lib/libc/stdio/findfp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/findfp.c b/lib/libc/stdio/findfp.c
index f307e3e40bbe..772381385d36 100644
--- a/lib/libc/stdio/findfp.c
+++ b/lib/libc/stdio/findfp.c
@@ -75,6 +75,10 @@ FILE __sF[3] = {
struct glue __sglue = { &uglue, 3, __sF };
static struct glue *lastglue = &uglue;
+FILE *__stdin = &__sF[0];
+FILE *__stdout = &__sF[1];
+FILE *__stderr = &__sF[2];
+
static struct glue * moreglue __P((int));
static spinlock_t thread_lock = _SPINLOCK_INITIALIZER;