blob: 26f8ce8f6d963be5f6740bb6e775d3be87ad9b29 [file] [log] [blame]
/*
* perror.c
*/
#include <errno.h>
#include <stdio.h>
#include <string.h>
void perror(const char *s)
{
int e = errno;
fprintf(stderr, "%s: %s\n", s, strerror(e));
}