aboutsummaryrefslogtreecommitdiff
path: root/error_table.h
blob: 8221a90ec0dcc1176aa220ace416732e8b087f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <errno.h>

static struct error_table table[] = {
  {EACCES,	"Permission denied"},
  {EINVAL,	"Invalid argument"},
  {EIO,		"I/O error"},
  {EISDIR,	"Is a directory"},
  {ELOOP,	"Too many symbolic links"},
  {ENAMETOOLONG,	"File name too long"},
  {ENOENT,	"No such file or directory"},
  {ENOEXEC,	"Exec format error"},
  {ENOMEM,	"Out of memory"},
  {ENOSYS,	"Function not implemented"},
  {ENOTDIR,	"Not a directory"},
  {EROFS,	"Read-only file system"},
  {ETXTBSY,	"Text file busy"},
  {ESPIPE,	"Illegal seek"},
  {0,0}
};