[launchd-dev] launchd-dev Digest, Vol 25, Issue 7

Damien Sorresso dsorresso at apple.com
Fri Jul 31 10:20:06 PDT 2009


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20090731/bc4a44b6/attachment-0001.bin>


More information about the launchd-dev mailing list