diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-19 16:38:56 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-19 16:38:56 +0200 |
commit | d502fce7d4db492690e39c72fc029aa05a65057d (patch) | |
tree | a5797a97212fff8142dc7f61792facca07c904eb /src/user/lib/libc/std/stdio.c | |
parent | 8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4 (diff) | |
download | TCE-d502fce7d4db492690e39c72fc029aa05a65057d.tar.gz TCE-d502fce7d4db492690e39c72fc029aa05a65057d.zip |
More improvements in FWIK - more strings, Dir class, ...
Diffstat (limited to 'src/user/lib/libc/std/stdio.c')
-rw-r--r-- | src/user/lib/libc/std/stdio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/user/lib/libc/std/stdio.c b/src/user/lib/libc/std/stdio.c index 23ec989..196c554 100644 --- a/src/user/lib/libc/std/stdio.c +++ b/src/user/lib/libc/std/stdio.c @@ -4,14 +4,16 @@ #include <readline.h> FILE term = 0; -void print(const char *s) { fprint(term, s); } +void print(const char *s) { + fprint(term, s); +} + void printf(const char *format, ...) { va_list ap; va_start(ap, format); vfprintf(term, format, ap); va_end(ap); } -char* readln() { return freadln(term); } void fprint(FILE f, const char *s) { write(f, 0, strlen(s), s); |