Mercurial > lcfOS
view cos/hello/liblcfos.c @ 174:3eb06f5fb987
Added memory alloc for locals
author | Windel Bouwman |
---|---|
date | Fri, 19 Apr 2013 19:22:52 +0200 |
parents | a1c9c2158e99 |
children |
line wrap: on
line source
/* 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; } }