From 3534b428629be185e096be99e3bd5fdfe32d5544 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Sep 2014 18:55:44 +0000 Subject: initial commit with rc for skalibs-2.0.0.0 --- src/headers/error-header | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/headers/error-header (limited to 'src/headers/error-header') diff --git a/src/headers/error-header b/src/headers/error-header new file mode 100644 index 0000000..b891b6b --- /dev/null +++ b/src/headers/error-header @@ -0,0 +1,12 @@ +/* ISC license. */ + +#ifndef ERROR_H +#define ERROR_H + +#include +#include + +extern char const *error_str (int) gccattr_const ; +extern int error_temp (int) gccattr_const ; + +#define error_isagain(e) (((e) == EAGAIN) || ((e) == EWOULDBLOCK)) -- cgit v1.2.3