perror.c revision 76d05dc695b06c4e987bb8078f78032441e1430c
1#include <stdio.h>
2#include <errno.h>
3
4void perror(const char *msg)
5{
6    printf("%s: error %s\n", msg, errno);
7}
8