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