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

#ifndef ERROR_H
#define ERROR_H

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

extern int error_temp (int) gccattr_const ;
#define error_isagain(e) (((e) == EAGAIN) || ((e) == EWOULDBLOCK))