From 0335a7cf215f1c5cba9ae8a49b3dbd1b980a20b1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 6 Nov 2018 20:32:42 +0100 Subject: Add libsimple_eprintf_preprint and libsimple_eprintf_postprint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test.c') diff --git a/test.c b/test.c index 80b7ad7..f785483 100644 --- a/test.c +++ b/test.c @@ -293,6 +293,13 @@ fprintf(FILE *restrict stream, const char *restrict format, ...) int vfprintf(FILE *restrict stream, const char *restrict format, va_list ap) +{ + return test_vfprintf(stream, format, ap); +} + + +int +test_vfprintf(FILE *restrict stream, const char *restrict format, va_list ap) { size_t old_alloc_fail_in = alloc_fail_in; va_list ap2; -- cgit v1.2.3-70-g09d2