sysread - Page 2

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Re: sysread wrote:
Quoted text here. Click to load it

I have no idea what a level II i/o function is.  The man pages don't seem
to break them down into that classification.  Is this a standard usage
or are you just making crap up?

Quoted text here. Click to load it

perl -e 'print "asdfsfsfdsldfjlskdfjlsjflsadjflsdfsadfsf" foreach
   | truss perl -le '<STDIN>'

shows "read" system calls of size 5120 on SunOS 5.9.  The same
thing but with strace rather than truss gives ones of 4096 bytes on
Linux  An old Irix system I no longer have access
to used 10240 bytes.  At least Perl for Windows uses 512 bytes, but since
it doesn't have a "strace" equivalent I don't remember how I deduced that.

Quoted text here. Click to load it

Coming from you, that is rather rich.


-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.

Re: sysread

Larry wrote:
Quoted text here. Click to load it

If I was having trouble reinventing a wheel, I'd consider using the free

According to the docs, handles binary uploads of this type
without requiring you to use sysread in your code.

Just my 0.02 worth.

Site Timeline