Re: [libvirt PATCH 2/5] Include poll.h instead of sys/poll.h

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

 



On Mon, Mar 07, 2022 at 10:04:03AM +0100, Martin Kletzander wrote:
> That is the proper POSIX way.

Indeed, but if someone wants to do more cleanup we should just
stop using poll, and call g_poll instead. This is a transparent
wrapper of poll on systems which have it, or a compatible impl
on systems lacking it. With g_poll we don't need to care about
poll.h at all.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux