Home | History | Annotate | Download | only in posix
      1 /* true.c - Return zero.
      2  *
      3  * Copyright 2007 Rob Landley <rob (at) 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 }
     23