view toys/true.c @ 503:3b9dea897dc0

Upgrade yesno() and make cp -i use it.
author Rob Landley <rob@landley.net>
date Mon, 27 Feb 2012 21:56:49 -0600
parents 163498bf547b
children
line wrap: on
line source

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

USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN))

config TRUE
	bool "true"
	default y
	help
	  Return zero.
*/

#include "toys.h"

void true_main(void)
{
	return;
}