/* Copyright 1989, 1990, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. errno.h Error Code Definitions */ #ifndef __ERRNO_H #define __ERRNO_H #define ENO_ERROR ( 0 ) /* value for NOT an error */ #define ENOENT ( 2 ) /* no such file or directory */ #define EIO ( 5 ) /* i/o error */ #define ENOEXEC ( 8 ) /* exec format error */ #define ENOMEM ( 12 ) /* not enough memory */ #define EACCES ( 13 ) /* permission denied */ #define ENOTBLK ( 15 ) /* block device required */ #define EINVAL ( 22 ) /* invalid argument */ #define EMFILE ( 24 ) /* too many open files */ #define EFBIG ( 27 ) /* file too large */ #define ESPIPE ( 29 ) /* illegal seek */ #define EMLINK ( 31 ) /* too many links */ #define EDOM ( 33 ) /* math argument out of domain */ #define ERANGE ( 34 ) /* result too large */ #define EBADMODE ( 36 ) /* illegal mode for setvbuf */ #define EIONOSUP ( 100) /* Task did not link in support for requested I/O operation */ #define errno _errno extern volatile int errno; #endif