mirror of
https://github.com/drasko/codezero.git
synced 2026-07-18 05:05:24 +02:00
Modified the kernel and all tasks with well-formatted printout messages.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user