On 2012年07月05日 14:19, Liu Yuan wrote: > 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 >
If a signal interrupts pread, I guess it also interrupts sheep. thanks, levin -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
