view toys/false.c @ 572:8a88a9e3c30b

Adding initial version of login.c
author Elie De Brauwer <eliedebrauwer@gmail.com>
date Tue, 24 Apr 2012 23:09:27 +0200
parents 163498bf547b
children
line wrap: on
line source

/* vi: set sw=4 ts=4:
 *
 * false.c - Return nonzero.
 *
 * Copyright 2007 Rob Landley <rob@landley.net>
 *
 * See http://www.opengroup.org/onlinepubs/009695399/utilities/false.html

USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN))

config FALSE
	bool "false"
	default y
	help
	  Return nonzero.
*/

#include "toys.h"

void false_main(void)
{
	toys.exitval = 1;
}