Logo Search packages:      
Sourcecode: yagiuda version File versions  Download package

test_stop.c

#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdio.h>
#include <errno.h>
#include "yagi.h"

void test_for_stop_file(void)
{
      if (   fopen("stop","r") !=NULL        )
      {
            fprintf(stderr,"Remove the file \"stop\" first\n");
            exit(1);
      }
      else
            errno=0;
}

Generated by  Doxygen 1.6.0   Back to index