8 lines
114 B
C
8 lines
114 B
C
#include <stdio.h>
|
|
#include <errno.h>
|
|
|
|
void perror(const char *msg)
|
|
{
|
|
printf("%s: error %s\n", msg, errno);
|
|
}
|