OSDN Git Service

"printf %x 64" wasn't working right on 32 bit because a variable type was wrong.
[android-x86/external-toybox.git] / toys / posix / false.c
1 /* false.c - Return nonzero.
2  *
3  * Copyright 2007 Rob Landley <rob@landley.net>
4  *
5  * See http://opengroup.org/onlinepubs/9699919799/utilities/false.html
6
7 USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP))
8
9 config FALSE
10   bool "false"
11   default y
12   help
13     Return nonzero.
14 */
15
16 #include "toys.h"
17
18 void false_main(void)
19 {
20   toys.exitval = 1;
21 }