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 / true.c
1 /* true.c - Return zero.
2  *
3  * Copyright 2007 Rob Landley <rob@landley.net>
4  *
5  * See http://opengroup.org/onlinepubs/9699919799/utilities/true.html
6
7 USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP))
8 USE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK|TOYFLAG_NOHELP))
9
10 config TRUE
11   bool "true"
12   default y
13   help
14     Return zero.
15 */
16
17 #include "toys.h"
18
19 void true_main(void)
20 {
21   return;
22 }