summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-05 15:40:36 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-05 15:40:36 -0400
commit5788d97221434903407fec3f0e48b2ca19643a30 (patch)
tree01e3ab2c5de0671d18c6a891ea7bc9102f852298
parentf209440bcfb5bee2386f00392f00f68c716850ce (diff)
downloadmusl-5788d97221434903407fec3f0e48b2ca19643a30.tar.gz
musl-5788d97221434903407fec3f0e48b2ca19643a30.tar.bz2
musl-5788d97221434903407fec3f0e48b2ca19643a30.tar.xz
musl-5788d97221434903407fec3f0e48b2ca19643a30.zip
add sysexits.h legacy header
-rw-r--r--include/sysexits.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sysexits.h b/include/sysexits.h
new file mode 100644
index 00000000..16eeb419
--- /dev/null
+++ b/include/sysexits.h
@@ -0,0 +1,21 @@
+#ifndef _SYSEXITS_H
+#define _SYSEXITS_H
+#define EX_OK 0
+#define EX__BASE 64
+#define EX_USAGE 64
+#define EX_DATAERR 65
+#define EX_NOINPUT 66
+#define EX_NOUSER 67
+#define EX_NOHOST 68
+#define EX_UNAVAILABLE 69
+#define EX_SOFTWARE 70
+#define EX_OSERR 71
+#define EX_OSFILE 72
+#define EX_CANTCREAT 73
+#define EX_IOERR 74
+#define EX_TEMPFAIL 75
+#define EX_PROTOCOL 76
+#define EX_NOPERM 77
+#define EX_CONFIG 78
+#define EX__MAX 78
+#endif