Files
mosh/third/libstddjb/error.h
T
Anders Kaseorg 29bb8facc7 Fake up enough headers to let libstddjb selfpipe build
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2012-03-07 03:05:37 -05:00

15 lines
271 B
C

/* ISC license. */
#ifndef ERROR_H
#define ERROR_H
#include <errno.h>
#include "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))
#endif