RE: [PECL-DEV] Account Request: perror
| From: | Andi Gutmans | Date: | Fri, 22 Sep 2006 20:00:37 +0000 |
| Subject: | RE: [PECL-DEV] Account Request: perror | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-4180@lists.php.net to get a copy of this message | ||
This shouldn't be an extension.
Maybe it can be part of ext/pcnl or some other existing extension?
> -----Original Message-----
> From: Richard Lynch [mailto:ceo@l-i-e.com]
> Sent: Wednesday, September 20, 2006 8:39 AM
> To: pecl-dev@lists.php.net
> Subject: [PECL-DEV] Account Request: perror
>
> Account Request
>
> Extension Name: perror
>
> Synopsis:
>
> After you do exec (et al) and get an error number, you
> shouldn't have to pop out to a shell to do 'perror' to find
> out what that error number means.
>
> This extension adds a very modest function 'strerror' which
> returns the corresponding error message from the OS.
>
> >From the 'perror' man pages, it became blatantly obvious that
> 'strsignal' was the exact same formula, so I tossed that in as well.
>
> Details:
> Download and source and minimal documentation available here:
> http://www.l-i-e.com/perror/
>
> Several folks on php-internals and php-general asked me to
> add this to PECL when I posted it a couple months ago, and
> I'm just now getting round to it, as I was buried under at
> work for awhile.
>
> I'll be using the email: lynch AT php DOT net for this project
> (which I've had for years and under-utilize)
>
> I think I already have CVS access to Docs on php.net, so I
> reckon you just need to change whatever flags I'd need to
> keep 'perror' current, rather than add a new acount.
>
> Thanks!
>
> --
> Like Music?
> http://l-i-e.com/artists.htm
>
> --
> PECL development discussion Mailing List
> (http://pecl.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
>