Improve test_qdsocket
[fwd.git] / prod / qderrhandler.c
1 /*
2  * QuanDocs error handling routines.
3  *
4  * Copyright (C) 2015 Chris Jaekl
5  */
6
7 #include <errno.h>
8
9 #include "qderrhandler.h"
10
11 void qdAbort_impl(const char *die_msg, long die_retCode, const char *file, long line)
12 {
13     printf("%s:%ld %s\nReturn code %ld, errno %d\n", 
14             file, line, die_msg, die_retCode, (int)errno);  
15     abort(); 
16 }
17