Sha256: 975a29c426cc9b8d7da641e7795134d02093e3e471410792d88ccc691f914122
Contents?: true
Size: 286 Bytes
Versions: 130
Compression:
Stored size: 286 Bytes
Contents
/* public domain rewrite of strerror(3) */ extern int sys_nerr; extern char *sys_errlist[]; static char msg[50]; char * strerror(int error) { if (error <= sys_nerr && error > 0) { return sys_errlist[error]; } sprintf(msg, "Unknown error (%d)", error); return msg; }
Version data entries
130 entries across 130 versions & 2 rubygems