On 12/2/19 10:18 PM, José Bollo wrote:
>> Well, that's trivial. Please consider the attached fragment (not
>> tested, but should be very close to what you need, modulo error
>> handling).
> I know it is trivial (my implementation below) but I advocate to offer
> a facility that does the job. It avoids tricky aspects like EPOLL and
> get_daemon_info (is working for windows???)

AFAIK on the Windows Subsystem for Linux it should work, and everything
else is a mess to do in a portable way. Regardless, these loops are
usually pretty simple, hence I do still think that they don't belong
into the library.  What we could do is at sample loops into the
documentation (tutorial?).

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to