2023-11-16 23:19:36 -05:00

13 lines
159 B
C

/*
* perror.c
*/
#include <errno.h>
#include <stdio.h>
#include <string.h>
void perror(const char *s)
{
fprintf(stderr, "%s: error %d\n", s, errno);
}