From 3a9241add947cb6d24b5de7a8927517426a78795 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 25 Aug 2012 14:25:22 -0500 Subject: Move commands into "posix", "lsb", and "other" menus/directories. --- toys/posix/true.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 toys/posix/true.c (limited to 'toys/posix/true.c') diff --git a/toys/posix/true.c b/toys/posix/true.c new file mode 100644 index 00000000..582b2cae --- /dev/null +++ b/toys/posix/true.c @@ -0,0 +1,23 @@ +/* vi: set sw=4 ts=4: + * + * true.c - Return zero. + * + * Copyright 2007 Rob Landley + * + * 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; +} -- cgit v1.2.3