source: buchla-68k/orig/LATTICE/ERROR.H@ 6d3de83

Last change on this file since 6d3de83 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 8 years ago

Imported original source code.

  • Property mode set to 100755
File size: 2.0 KB
RevLine 
[3ae31e9]1/*
2*
3* The following symbols are the error codes returned by the UNIX system
4* functions. Typically, a UNIX function returns -1 when an error occurs,
5* and the global integer named errno contains one of these values.
6*
7*/
8#define EPERM 1 /* User is not owner */
9#define ENOENT 2 /* No such file or directory */
10#define ESRCH 3 /* No such process */
11#define EINTR 4 /* Interrupted system call */
12#define EIO 5 /* I/O error */
13#define ENXIO 6 /* No such device or address */
14#define E2BIG 7 /* Arg list is too long */
15#define ENOEXEC 8 /* Exec format error */
16#define EBADF 9 /* Bad file number */
17#define ECHILD 10 /* No child process */
18#define EAGAIN 11 /* No more processes allowed */
19#define ENOMEM 12 /* No memory available */
20#define EACCES 13 /* Access denied */
21#define EFAULT 14 /* Bad address */
22#define ENOTBLK 15 /* Bulk device required */
23#define EBUSY 16 /* Resource is busy */
24#define EEXIST 17 /* File already exists */
25#define EXDEV 18 /* Cross-device link */
26#define ENODEV 19 /* No such device */
27#define ENOTDIR 20 /* Not a directory */
28#define EISDIR 21 /* Is a directory */
29#define EINVAL 22 /* Invalid argument */
30#define ENFILE 23 /* No more files (units) allowed */
31#define EMFILE 24 /* No more files (units) allowed for this process */
32#define ENOTTY 25 /* Not a terminal */
33#define ETXTBSY 26 /* Text file is busy */
34#define EFBIG 27 /* File is too large */
35#define ENOSPC 28 /* No space left */
36#define ESPIPE 29 /* Seek issued to pipe */
37#define EROFS 30 /* Read-only file system */
38#define EMLINK 31 /* Too many links */
39#define EPIPE 32 /* Broken pipe */
40#define EDOM 33 /* Math function argument error */
41#define ERANGE 34 /* Math function result is out of range */
42#define ENODSPC 35 /* No directory space */
43#define ERENAME 36 /* Rename error */
Note: See TracBrowser for help on using the repository browser.