summaryrefslogtreecommitdiff
path: root/Ganlib/src/xabort_c.c
blob: 5fa4b1b763c974ce0f54d3077f226ef9778f0418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

/*****************************************/
/*               GANLIB API              */
/*     AUTHOR: A. Hebert ; 06/05/09      */
/*****************************************/

/*
Copyright (C) 2009 Ecole Polytechnique de Montreal

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
*/

#include <stdlib.h>
#include <stdio.h>

void xabort_c(char *msg){
  printf(" %s\n",msg);
  fflush(stdout);
  exit(1);
}