view toys/hello.c @ 234:163498bf547b

Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
author Rob Landley <>
date Sat, 19 Jan 2008 17:43:27 -0600
parents d4176f3f3835
children 4f1ca01db000
line wrap: on
line source

/* vi: set sw=4 ts=4:
 * hello.c - A hello world program.
 * Copyright 2006 Rob Landley <>
 * Not in SUSv3.
 * See


config HELLO
	bool "hello"
	default y
	  A hello world program.  You don't need this.

	  Mostly used as an example/skeleton file for adding new commands,
	  occasionally nice to test kernel booting via "init=/bin/hello".

#include "toys.h"

void hello_main(void)
	printf("Hello world\n");