Initial commit

This commit is contained in:
Bahadir Balban
2008-01-13 13:53:52 +00:00
commit e2b791a3d8
789 changed files with 95825 additions and 0 deletions

15
libs/c/src/perror.c Normal file
View File

@@ -0,0 +1,15 @@
/*
* 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", errno);
}