Front page | perl.perl5.porters |
Postings from May 2003
Re: Meaning of sysread()
Thread Previous
|
Thread Next
From:
Kurt Starsinic
Date:
May 21, 2003 06:58
Subject:
Re: Meaning of sysread()
Message ID:
20030521135759.GA32495@verizon.net
On May 21, Nick Ing-Simmons wrote:
> Some of you may have been aware that Sarathy and I have been trying to
> resolve meaning of sysread(). perl5.8.0 breaks some legacy Win32
> code which expects sysread() to do CRLF translation (not on sockets...)
>
> Yesterday it became clear reason we were confused is that Sarathy and I
> were working from different 'specs'.
>
> perlfunc.pod and Camel 3rd-edition seem to disagree on fundamentals.
>
> I would like to solicit opinions from perl5-porters on reasons for
> leaning one way or the other.
I expect sysread() in perl to do _exactly_ what read() in C would
do. That's its raison d'ĂȘtre, no? sysread() exists so that when I'm
saying to myself, "but it works in my C program" at 2:00 AM, I've got
an incantation to try.
- Kurt
Thread Previous
|
Thread Next