|
|
1.1 root 1: /*
2: * Copyright (c) 1988 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution is only permitted until one year after the first shipment
6: * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and
7: * binary forms are permitted provided that: (1) source distributions retain
8: * this entire copyright notice and comment, and (2) distributions including
9: * binaries display the following acknowledgement: This product includes
10: * software developed by the University of California, Berkeley and its
11: * contributors'' in the documentation or other materials provided with the
12: * distribution and in all advertising materials mentioning features or use
13: * of this software. Neither the name of the University nor the names of
14: * its contributors may be used to endorse or promote products derived from
15: * this software without specific prior written permission.
16: * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
17: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
18: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19: *
20: * @(#)saerrno.h 7.3 (Berkeley) 6/28/90
21: */
22:
23: extern int errno; /* just like unix */
24:
25: /* error codes */
26: #define EADAPT 1 /* bad adaptor */
27: #define ECTLR 2 /* bad controller */
28: #define EUNIT 3 /* bad drive */
29: #define EPART 4 /* bad partition */
30: #define ERDLAB 5 /* can't read disk label */
31: #define EUNLAB 6 /* unlabeled disk */
32: #define ENXIO 7 /* bad device specification */
33: #define EBADF 8 /* bad file descriptor */
34: #define EOFFSET 9 /* relative seek not supported */
35: #define ESRCH 10 /* directory search for file failed */
36: #define EIO 11 /* generic error */
37: #define ECMD 12 /* undefined driver command */
38: #define EBSE 13 /* bad sector error */
39: #define EWCK 14 /* write check error */
40: #define EECC 15 /* uncorrectable ecc error */
41: #define EHER 16 /* hard error */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.