|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 3.0 ! 3: * Copyright (c) 1982, 1990 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: /* ! 7: * Error codes. ! 8: */ ! 9: #ifndef ERRNO_H ! 10: #define ERRNO_H ERRNO_H ! 11: ! 12: #define EPERM 1 /* Not super user */ ! 13: #define ENOENT 2 /* No such file or directory */ ! 14: #define ESRCH 3 /* Process not found */ ! 15: #define EINTR 4 /* Interrupted system call */ ! 16: #define EIO 5 /* I/O error */ ! 17: #define ENXIO 6 /* No such device or address */ ! 18: #define E2BIG 7 /* Argument list too long */ ! 19: #define ENOEXEC 8 /* Sys exec format error */ ! 20: #define EBADF 9 /* Bad file number */ ! 21: #define ECHILD 10 /* No children (wait) */ ! 22: #define EAGAIN 11 /* No more processes are available */ ! 23: #define ENOMEM 12 /* Cannot map process into memory */ ! 24: #define EACCES 13 /* Permission denied */ ! 25: #define EFAULT 14 /* Bad system call argument address */ ! 26: #define ENOTBLK 15 /* Block device required (mount) */ ! 27: #define EBUSY 16 /* Device busy (mount) */ ! 28: #define EEXIST 17 /* File already exists */ ! 29: #define EXDEV 18 /* Cross device link */ ! 30: #define ENODEV 19 /* No such device */ ! 31: #define ENOTDIR 20 /* Not a directory */ ! 32: #define EISDIR 21 /* Is a directory */ ! 33: #define EINVAL 22 /* Invalid argument */ ! 34: #define ENFILE 23 /* File table overflow */ ! 35: #define EMFILE 24 /* Too many open files for this process */ ! 36: #define ENOTTY 25 /* Not a terminal */ ! 37: #define ETXTBSY 26 /* Text file busy */ ! 38: #define EFBIG 27 /* File too big to map */ ! 39: #define ENOSPC 28 /* No space left on device */ ! 40: #define ESPIPE 29 /* Illegal seek on a pipe */ ! 41: #define EROFS 30 /* Read only filesystem */ ! 42: #define EMLINK 31 /* Too many links */ ! 43: #define EPIPE 32 /* Broken pipe */ ! 44: #define EDOM 33 /* Domain error */ ! 45: #define ERANGE 34 /* Result too large */ ! 46: #define EKSPACE 35 /* Out of kernel space */ ! 47: #define ENOLOAD 36 /* Driver not loaded */ ! 48: #define EBADFMT 37 /* Bad format */ ! 49: #define EDATTN 38 /* Device needs attention */ ! 50: #define EDBUSY 39 /* Device busy */ ! 51: ! 52: #ifndef KERNEL ! 53: /* ! 54: * Globals. ! 55: */ ! 56: extern int errno; ! 57: extern int sys_nerr; ! 58: extern char *sys_errlist[]; ! 59: ! 60: #endif ! 61: ! 62: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.