1
0
mirror of https://github.com/mobile-shell/mosh.git synced 2026-03-01 18:23:30 +01:00
Files
mosh-mirror/third/libstddjb/error.h
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