Home | History | Annotate | Download | only in posix
      1 /* false.c - Return nonzero.
      2  *
      3  * Copyright 2007 Rob Landley <rob (at) landley.net>
      4  *
      5  * See http://opengroup.org/onlinepubs/9699919799/utilities/false.html
      6 
      7 USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN))
      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 }
     22