perror.c - vx32 - Local 9vx git repository for patches.
 (HTM) git clone git://r-36.net/vx32
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       perror.c (199B)
       ---
            1 #include <stdio.h>
            2 #include <string.h>
            3 #include <errno.h>
            4 
            5 void perror(const char *s)
            6 {
            7         char *e = strerror(errno);
            8         if (s)
            9                 fprintf(stderr, "%s: %s\n", s, e);
           10         else
           11                 fprintf(stderr, "%s\n", e);
           12 }