GLYLIB  0.3.0b
mywhineusage.c
Go to the documentation of this file.
00001 // Function written by B. Lachele Foley, 2007
00002 
00003 // prints and error message and a usage statement then exits
00004 #include <mylib.h>
00005 
00006 void mywhineusage(const char *msg,const char *usg){ 
00007         printf("\nThis program encountered the following error and will exit:\n\t%s\n\n",msg);
00008         printf("Usage:\n%s\n",usg); 
00009         exit(1);
00010 }
 All Classes Files Functions Variables Typedefs Defines