panic if proc doing unlock is not proc that aquired the lock
[unix-history] / usr / src / sys / stand.att / saerrno.h
CommitLineData
879894e1
KB
1/*
2 * Copyright (c) 1988 Regents of the University of California.
3 * All rights reserved.
4 *
dbf0c423 5 * %sccs.include.redist.c%
879894e1 6 *
dbf0c423 7 * @(#)saerrno.h 7.3 (Berkeley) %G%
879894e1
KB
8 */
9
10extern int errno; /* just like unix */
11
12/* error codes */
13#define EADAPT 1 /* bad adaptor */
14#define ECTLR 2 /* bad controller */
15#define EUNIT 3 /* bad drive */
16#define EPART 4 /* bad partition */
17#define ERDLAB 5 /* can't read disk label */
18#define EUNLAB 6 /* unlabeled disk */
19#define ENXIO 7 /* bad device specification */
20#define EBADF 8 /* bad file descriptor */
21#define EOFFSET 9 /* relative seek not supported */
22#define ESRCH 10 /* directory search for file failed */
23#define EIO 11 /* generic error */
24#define ECMD 12 /* undefined driver command */
25#define EBSE 13 /* bad sector error */
26#define EWCK 14 /* write check error */
27#define EECC 15 /* uncorrectable ecc error */
28#define EHER 16 /* hard error */