aboutsummaryrefslogtreecommitdiff
path: root/coreutils/false.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/false.c')
-rw-r--r--coreutils/false.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/coreutils/false.c b/coreutils/false.c
new file mode 100644
index 000000000..084bc0c1e
--- /dev/null
+++ b/coreutils/false.c
@@ -0,0 +1,19 @@
1/* vi: set sw=4 ts=4: */
2/*
3 * Mini false implementation for busybox
4 *
5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 *
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8 */
9
10/* BB_AUDIT SUSv3 compliant */
11/* http://www.opengroup.org/onlinepubs/007904975/utilities/false.html */
12
13#include <stdlib.h>
14#include "busybox.h"
15
16int false_main(int ATTRIBUTE_UNUSED argc, char ATTRIBUTE_UNUSED **argv)
17{
18 return EXIT_FAILURE;
19}