view src/prog/echo.c @ 114:4187043a3e3a

Added a simple echo program
author Jonathan Pevarnek <pevarnj@gmail.com>
date Sat, 11 Jun 2011 15:35:44 -0400
parents
children 4473e746fe5a
line wrap: on
line source

#include <svcCalls.h>
#include <std.h>

void start() //TODO: accept a command line argument of what to print
{
	char buffer[128];
	sGet(buffer, 128);
	sPrint(buffer);
	sPrint("\n");
	exit();
}