Usermode/libc - Exit on heap corruption
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / perror.c
1 /*
2  * Acess2 C Library
3  * - By John Hodge (thePowersGang)
4  *
5  * perror.c
6  * - perror() and friends
7  */
8 #include <errno.h>
9 #include <stdio.h>
10
11 void perror(const char *s)
12 {
13         fprintf(stderr, "%s: Error (%i)\n", s, errno);
14 }

UCC git Repository :: git.ucc.asn.au