Modified the kernel and all tasks with well-formatted printout messages.

This commit is contained in:
Bahadir Balban
2009-05-12 11:25:14 +03:00
parent db0d756dfa
commit 8528e2e1ba
28 changed files with 237 additions and 285 deletions

View File

@@ -1,7 +1,13 @@
#include <errno.h>
#include <stdio.h>
int errno_variable;
void perror(const char *str)
{
printf("%s: %d\n", str, errno);
}
int *__errno_location(void)
{
return &errno_variable;