Files
codezero/libs/c/src/perror.c
Bahadir Balban 81ebffdc87 VFS updates, readme updates.
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.
2008-04-09 16:55:54 +01:00

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);
}