aboutsummaryrefslogtreecommitdiff
path: root/toys/false.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-04-30 00:08:48 -0400
committerRob Landley <rob@landley.net>2007-04-30 00:08:48 -0400
commitf2ccc2d1d6f58d8f6162f2596bcbba7e275df53c (patch)
treefe76e287906b18482b19bb662dce5175af9d0fc6 /toys/false.c
parent0c93f6c7ab7aab56b39793a2317a9bff16b8ae04 (diff)
downloadtoybox-f2ccc2d1d6f58d8f6162f2596bcbba7e275df53c.tar.gz
Add true and false.
Diffstat (limited to 'toys/false.c')
-rw-r--r--toys/false.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/toys/false.c b/toys/false.c
new file mode 100644
index 00000000..48b9d65a
--- /dev/null
+++ b/toys/false.c
@@ -0,0 +1,11 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * false.c - Return nonzero.
+ */
+
+#include "toys.h"
+
+int false_main(void)
+{
+ return 1;
+}