31 Jul
2009
31 Jul
'09
5:20 p.m.
On Jul 31, 2009, at 8:06 AM, Nehemiah Dacres wrote:
why is the perror command only in MySQL this should be in every Linux. is there a way to toss this into Snow Leopard at the last Minuit? I could have done it in one line but it wouldn't be polite (as a program or as readable code)
#include <unistd.h> #include <stdio.h> #include <string.h> int main (int argc, char** argv){ if (argc != 2) printf("usage: %s errnum\n",argv[0]); else printf("%s\n",strerror(atoi(argv[1]))); return 0; }
Two things. 0. Wrong list. 1. File an enhancement request. -- Damien Sorresso BSD Engineering Apple Inc.