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