diff options
author | Mattias Andrée <maandree@kth.se> | 2018-11-06 20:32:42 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-11-06 20:32:42 +0100 |
commit | 0335a7cf215f1c5cba9ae8a49b3dbd1b980a20b1 (patch) | |
tree | e87a3444037b27f7a2743ea84e7af1d9ef50c1bf /test.c | |
parent | Add tests for mem[p]setelem and add man pages for libsimple_default_failure_exit (diff) | |
download | libsimple-0335a7cf215f1c5cba9ae8a49b3dbd1b980a20b1.tar.gz libsimple-0335a7cf215f1c5cba9ae8a49b3dbd1b980a20b1.tar.bz2 libsimple-0335a7cf215f1c5cba9ae8a49b3dbd1b980a20b1.tar.xz |
Add libsimple_eprintf_preprint and libsimple_eprintf_postprint
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | test.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -294,6 +294,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; int r; |