aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/errno.h
diff options
context:
space:
mode:
authorDmitrij Tejblum <dt@FreeBSD.org>1998-12-14 18:54:04 +0000
committerDmitrij Tejblum <dt@FreeBSD.org>1998-12-14 18:54:04 +0000
commit85f118c8015a7d35ca05c1bce850de85f533963e (patch)
treee89428bea9ff3e3e3a0a7e57e134683c87af938b /sys/sys/errno.h
parentb13ebaaa5c8d44f3351584cb35eaef40f6829f55 (diff)
downloadsrc-85f118c8015a7d35ca05c1bce850de85f533963e.tar.gz
src-85f118c8015a7d35ca05c1bce850de85f533963e.zip
Added 3 new errno values, requred by various standards: EOVERFLOW,
ECANCELED, EILSEQ. Fixed ibcs2 and especially linux EIDRM and ENOMSG errno mapping. Reviewed by: Dan Nelson <dnelson@emsphone.com>
Notes
Notes: svn path=/head/; revision=41796
Diffstat (limited to 'sys/sys/errno.h')
-rw-r--r--sys/sys/errno.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index 0430bfedf38c..adf0eff0e773 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)errno.h 8.5 (Berkeley) 1/21/94
- * $Id: errno.h,v 1.9 1998/04/13 17:45:00 sos Exp $
+ * $Id: errno.h,v 1.10 1998/04/30 09:38:03 jb Exp $
*/
#ifndef _SYS_ERRNO_H_
@@ -161,9 +161,12 @@ __END_DECLS
#define EFTYPE 79 /* Inappropriate file type or format */
#define EAUTH 80 /* Authentication error */
#define ENEEDAUTH 81 /* Need authenticator */
-#define EIDRM 82 /* Identifier removed */
-#define ENOMSG 83 /* No message of desired type */
-#define ELAST 83 /* Must be equal largest errno */
+#define EIDRM 82 /* Identifier removed */
+#define ENOMSG 83 /* No message of desired type */
+#define EOVERFLOW 84 /* Value to large to be stored in data type */
+#define ECANCELED 85 /* Operation canceled */
+#define EILSEQ 86 /* Illegal byte sequence */
+#define ELAST 86 /* Must be equal largest errno */
#endif /* _POSIX_SOURCE */