Added errno.h

This commit is contained in:
ceriel
1991-12-16 16:54:12 +00:00
parent 688ed3e35c
commit c8159af975
4 changed files with 166 additions and 0 deletions

20
include/_tail_cc/errno.h Normal file
View File

@@ -0,0 +1,20 @@
/*
* errno.h - errors
*/
/* $Header$ */
#if !defined(_ERRNO_H)
#define _ERRNO_H
#include <sys/errno.h>
/* The standard requires the next two definitions. If they are also in
* <sys/errno.h>, their values should be equal. The <sys/errno.h> supplied
* with the compiler doesn't contain them.
*/
#define EDOM 33 /* math arg out of domain of func */
#define ERANGE 34 /* math result not representable */
extern int errno; /* error number */
#endif /* _ERRNO_H */