view toys/hello.c @ 25:eb46bb5626cb

New option parsing infrastructure (doesn't use getopt). Hook it up to existing applets. Still a bit buggy, but bits of it work.
author Rob Landley <rob@landley.net>
date Sun, 19 Nov 2006 02:49:22 -0500
parents d87d8a056295
children 25447caf1b4b
line wrap: on
line source

/* vi: set sw=4 ts=4: */
/*
 * hello.c - A hello world program.
 */

#include "toys.h"

int hello_main(void)
{
	printf("Hello world\n");
	return 0;
}