summaryrefslogtreecommitdiff
path: root/src/headers/error-header
blob: b891b6b1210b4ef73260a58fe9486c8c7ac3a345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#ifndef ERROR_H
#define ERROR_H

#include <errno.h>
#include <skalibs/gccattributes.h>

extern char const *error_str (int) gccattr_const ;
extern int error_temp (int) gccattr_const ;

#define error_isagain(e) (((e) == EAGAIN) || ((e) == EWOULDBLOCK))