Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: |
2 | * | ||||
Rob Landley | f2ccc2d | 2007-04-30 00:08:48 -0400 | [diff] [blame] | 3 | * false.c - Return nonzero. |
Rob Landley | fece5cb | 2007-12-03 20:05:57 -0600 | [diff] [blame] | 4 | * |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 5 | * Copyright 2007 Rob Landley <rob@landley.net> |
6 | * | ||||
Rob Landley | 5c67e35 | 2007-12-11 15:41:31 -0600 | [diff] [blame] | 7 | * See http://www.opengroup.org/onlinepubs/009695399/utilities/false.html |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 8 | |
Rob Landley | 55928b1 | 2008-01-19 17:43:27 -0600 | [diff] [blame] | 9 | USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN)) |
Rob Landley | 2896480 | 2008-01-19 17:08:39 -0600 | [diff] [blame] | 10 | |
11 | config FALSE | ||||
12 | bool "false" | ||||
13 | default y | ||||
14 | help | ||||
15 | Return nonzero. | ||||
16 | */ | ||||
Rob Landley | f2ccc2d | 2007-04-30 00:08:48 -0400 | [diff] [blame] | 17 | |
18 | #include "toys.h" | ||||
19 | |||||
Rob Landley | efda21c | 2007-11-29 18:14:37 -0600 | [diff] [blame] | 20 | void false_main(void) |
Rob Landley | f2ccc2d | 2007-04-30 00:08:48 -0400 | [diff] [blame] | 21 | { |
Rob Landley | efda21c | 2007-11-29 18:14:37 -0600 | [diff] [blame] | 22 | toys.exitval = 1; |
Rob Landley | f2ccc2d | 2007-04-30 00:08:48 -0400 | [diff] [blame] | 23 | } |