mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 03:13:15 +01:00
Separated vfs file as a specific file. vm file is not always a vfs file. Updated the README sys_open was not returning back to client, added that. Added comments for future vfs additions.
16 lines
306 B
C
16 lines
306 B
C
/*
|
|
* A temporary mock-up perror implementation just
|
|
* for quick testing purposes. When a proper C library is
|
|
* ported, its implementation should be used.
|
|
*
|
|
* Copyright (C) 2008 Bahadir Balban
|
|
*/
|
|
#include <stdio.h>
|
|
|
|
extern int errno;
|
|
|
|
void perror(const char *str)
|
|
{
|
|
printf("%s: %d\n", str, errno);
|
|
}
|