in reply to Re^2: explanation for sysread and syswritein thread explanation for sysread and syswrite
Returns the number of bytes actually read, 0 at end of file, or undef if there was an error (in the latter case $! is also set).