summary refs log tree commit diff
path: root/src/error.h
blob: 8ecb400d636311458b9bd6a56faab883ac173779 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* Public domain. */

#ifndef ERROR_H
#define ERROR_H

/* 20030124: include <errno.h> -upcoming glibc changes */
#include <errno.h>
 
/* extern int errno; */

extern int error_intr;
extern int error_nomem;
extern int error_noent;
extern int error_txtbsy;
extern int error_io;
extern int error_exist;
extern int error_timeout;
extern int error_inprogress;
extern int error_wouldblock;
extern int error_again;
extern int error_pipe;
extern int error_perm;
extern int error_acces;
extern int error_nodevice;
extern int error_proto;
extern int error_isdir;
extern int error_connrefused;
extern int error_notdir;

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

#endif