On 07/05/2012 02:18 PM, levin li wrote:
> I think pread64 is OK for regular files, as the manual says only in
> the following conditions the number of bytes read may be less than
> the number of bytes requested:
> 
> 1. The number of bytes left in the file is less than the requested length.
> 2. The read() was interrupted by a signal.

So why don't handle signal?

Thanks,
Yuan

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to