X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/fdb8e4aac282b72d4670aa3a26d9bba07afc7e6f..1c15e88899094343f75aeba04122cd96a96b428e:/usr/src/sys/sys/errno.h diff --git a/usr/src/sys/sys/errno.h b/usr/src/sys/sys/errno.h index 87eac64a48..3d2af77f49 100644 --- a/usr/src/sys/sys/errno.h +++ b/usr/src/sys/sys/errno.h @@ -2,9 +2,22 @@ * Copyright (c) 1982, 1986, 1989 Regents of the University of California. * All rights reserved. * - * %sccs.include.redist.c% + * Redistribution is only permitted until one year after the first shipment + * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and + * binary forms are permitted provided that: (1) source distributions retain + * this entire copyright notice and comment, and (2) distributions including + * binaries display the following acknowledgement: This product includes + * software developed by the University of California, Berkeley and its + * contributors'' in the documentation or other materials provided with the + * distribution and in all advertising materials mentioning features or use + * of this software. Neither the name of the University nor the names of + * its contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#)errno.h 7.12 (Berkeley) %G% + * @(#)errno.h 7.10 (Berkeley) 6/28/90 */ #ifndef KERNEL @@ -118,20 +131,8 @@ extern int errno; /* global error number */ #define ENOLCK 77 /* No locks available */ #define ENOSYS 78 /* Function not implemented */ -#define EFTYPE 79 /* Inappropriate file type or format */ - #ifdef KERNEL /* pseudo-errors returned inside kernel to modify return to process */ #define ERESTART -1 /* restart syscall */ #define EJUSTRETURN -2 /* don't modify regs, just return */ #endif - -/* - * User variables for accessing the error codes - */ - -#ifndef KERNEL -extern int errno; -extern int sys_nerr; -extern char *sys_errlist[]; -#endif