4 * Ullrich von Bassewitz, 01.10.1998
15 void perror (const char* msg)
17 /* Fetch the message that corresponds to errno */
18 const char* errormsg = strerror (errno);
20 /* Different output depending on msg */
22 fprintf (stderr, "%s: %s\n", msg, errormsg);
24 fprintf (stderr, "%s\n", errormsg);