"Fossies" - the Fresh Open Source Software Archive

Member "statist-1.4.2/tests/statist_check_dummies.c" (30 Sep 2006, 422 Bytes) of package /linux/privat/old/statist-1.4.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* Dummy functions which helps us to more easily test some statist's functions
    2  * seperately 
    3  */
    4 
    5 #include <stdarg.h>
    6 #include <stdio.h>
    7 #include <stdlib.h>
    8 #include <check.h>
    9 
   10 
   11 void finish() {
   12     /* no need to close tempfiles */
   13     /* no need to close pipes */
   14 }
   15 
   16 
   17 void out_err(int errno, char *modulname, int lno, char *fmt, ...) {
   18   /* va_list argptr; */
   19 
   20   fprintf(stderr,"Got a statist out_err() call.\n");
   21   exit(1);
   22 }