Mercurial > lcfOS
diff cos/hello/liblcfos.c @ 38:a1c9c2158e99
Directory cleanup
author | windel |
---|---|
date | Fri, 03 Feb 2012 18:38:44 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cos/hello/liblcfos.c Fri Feb 03 18:38:44 2012 +0100 @@ -0,0 +1,23 @@ + +/* Defines all system calls */ + +#include "liblcfos.h" + +/* Exit program system call */ +void exit() +{ + //syscall(EXIT); +} + +/* Print string to screen */ +void print_string(char *str) +{ + // TODO: + // syscall(WRITESTR, str); + if (str[0] == 0) + { + return; + } +} + +