Mercurial > hg > sv-dependency-builds
comparison src/fftw-3.3.8/libbench2/ovtpvt.c @ 167:bd3cc4d1df30
Add FFTW 3.3.8 source, and a Linux build
| author | Chris Cannam <cannam@all-day-breakfast.com> |
|---|---|
| date | Tue, 19 Nov 2019 14:52:55 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 166:cbd6d7e562c7 | 167:bd3cc4d1df30 |
|---|---|
| 1 #include <stdlib.h> | |
| 2 #include <stdio.h> | |
| 3 #include <stdarg.h> | |
| 4 #include "libbench2/bench.h" | |
| 5 | |
| 6 void ovtpvt(const char *format, ...) | |
| 7 { | |
| 8 va_list ap; | |
| 9 | |
| 10 va_start(ap, format); | |
| 11 if (verbose >= 0) | |
| 12 vfprintf(stdout, format, ap); | |
| 13 va_end(ap); | |
| 14 fflush(stdout); | |
| 15 } | |
| 16 | |
| 17 void ovtpvt_err(const char *format, ...) | |
| 18 { | |
| 19 va_list ap; | |
| 20 | |
| 21 va_start(ap, format); | |
| 22 if (verbose >= 0) { | |
| 23 fflush(stdout); | |
| 24 vfprintf(stderr, format, ap); | |
| 25 } | |
| 26 va_end(ap); | |
| 27 fflush(stdout); | |
| 28 } |
