Re: select( ) call related

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2003 at 01:32:55PM +0000, Sriram N.S. wrote:
> used with the call will be cleared automatically. I tried
> making a local copy of the the fd-set using bcopy/memcpy
> (for every iteration) before invoking the call, but am

Your question may be better asked on another mail list, as this list is
dedicated to kernel programming questions.

As a general note, i believe glibc provides 1024-bit fdsets -- which is
quite a bit larger than a simple assignment operator will typically
operate on, so when you're doing your copies, be sure to use sizeof().

-- 
Is Shock-and-Awe so different from Terror?

Attachment: pgp00413.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux