Implement user space's printf stuff
commit9695db9af0bee28651c667eb049523e45effc9af
authorLiu Aleaxander <Aleaxander@gmail.com>
Sun, 27 Jun 2010 16:18:59 +0000 (28 00:18 +0800)
committerLiu Aleaxander <Aleaxander@gmail.com>
Sun, 27 Jun 2010 16:18:59 +0000 (28 00:18 +0800)
tree665e5dfe137db24c864fe50febf18196098ac595
parent1ffde317a7a3ee7e7b46a780cbbc8a92697e025d
Implement user space's printf stuff

While, I found I can't simply use the lib function in lib diectory, so I copied almost
all of these into user directory. It's a duplicate of code, and that's not the goal
I build the lib directory.

Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
13 files changed:
Changelog
Makefile
gen-test.sh
include/stdio.h
kernel/Makefile
lib/Makefile
lib/vsprintf.c [copied from kernel/vsprintf.c with 100% similarity]
user/Makefile
user/arg.c [deleted file]
user/printf.c [new file with mode: 0644]
user/string.c [new file with mode: 0644]
user/user-test.c
user/vsprintf.c [moved from kernel/vsprintf.c with 100% similarity]