aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/errno.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-08-09 10:15:48 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-08-09 10:15:48 +0000
commit9d6d1ee63ea463c4098f40ab21fd26ee9f64827c (patch)
treee0a61008fc0cc411b650e78d443a046e63c9d309 /sys/sys/errno.h
parentec5ca2eba75a21d9b9c2ce4e9114b1246b4f5fcd (diff)
downloadsrc-9d6d1ee63ea463c4098f40ab21fd26ee9f64827c.tar.gz
src-9d6d1ee63ea463c4098f40ab21fd26ee9f64827c.zip
Introduce a new error return code:
#define EDOFUS 88 /* Programming error */ This can be used to signal error situations which indicate that the program logic or assumptions is deficient.
Notes
Notes: svn path=/head/; revision=101567
Diffstat (limited to 'sys/sys/errno.h')
-rw-r--r--sys/sys/errno.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index 51da0672698b..4e916f1e74eb 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -170,6 +170,8 @@ __END_DECLS
#define ENOATTR 87 /* Attribute not found */
#define ELAST 87 /* Must be equal largest errno */
+#define EDOFUS 88 /* Programming error */
+
#endif /* _POSIX_SOURCE */
#ifdef _KERNEL