1 /* $Id: errtbls.c,v 1.2 1995/11/25 00:57:55 davem Exp $
2 * errtbls.c: Error number conversion tables between various syscall
5 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
7 * Based upon preliminary work which is:
9 * Copyright (C) 1995 Adrian M. Rodriguez (adrian@remus.rutgers.edu)
12 #include <asm/bsderrno.h> /* NetBSD (bsd4.4) errnos */
13 #include <asm/solerrno.h> /* Solaris errnos */
15 /* Here are tables which convert between Linux/SunOS error number
16 * values to the equivalent in other OSs. Note that since the Linux
17 * ones have been set up to match exactly those of SunOS, no
18 * translation table is needed for that OS.
21 int solaris_errno[] = {
110 SOL_EINVAL, /* EDOTDOT XXX??? */
149 int netbsd_errno[] = {
238 BSD_EINVAL, /* EDOTDOT XXX??? */