#include #include void perror(const char *msg) { printf("%s: error %s\n", msg, errno); }