OSDN Git Service

libc/misc/gnu/obprintf.c: implement obstack_printf and obstack_vprintf
authorAnthony G. Basile <blueness@gentoo.org>
Thu, 13 Jun 2013 14:54:39 +0000 (10:54 -0400)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 14 Jun 2013 08:44:08 +0000 (10:44 +0200)
commit10d12e77d5cdffd064719356a87f839225916a4a
tree0e367602e34de44b29411856930fe9d2930b5c6d
parentf143f920694cec922ed2ac4082aab223acc413df
libc/misc/gnu/obprintf.c: implement obstack_printf and obstack_vprintf

This adds a straight forward implementation for obstack_printf and
obstack_vprintf on uClibc's already existing obstack_grow and
vasprintf.  It does not attempt to port over glibc's implementation
in terms of _IO_* structs and functions.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/stdio.h
libc/misc/gnu/Makefile.in
libc/misc/gnu/obprintf.c [new file with mode: 0644]
test/malloc/tst-obstack.c