{{Short description|System call}} {{lowercase}} {{mono|'''poll'''}} is a POSIX system call to wait for one or more file descriptors to become ready for use.{{r|n}}
On the BSD descendants and macOS, it has been largely superseded by {{mono|kqueue}} in high performance applications.{{r|nginx}} On Linux, it has been superseded by {{mono|ppoll}} and {{mono|epoll}}.{{r|nginx}}
== See also == {{Portal | Computer programming | Free and open-source software }} * kqueue * epoll * inotify * select
== References == {{Reflist |refs=
<ref name=n>{{cite web |author1= Charles M. Hannum |author2= The NetBSD Foundation, Inc. |date= 1998 |url= http://bxr.su/n/lib/libc/sys/poll.2 |title= poll, pollts — synchronous I/O multiplexing |website= BSD Cross Reference |publisher= NetBSD }}</ref>
<ref name=nginx>{{cite web |url= http://nginx.org/en/docs/events.html |title= Connection processing methods |website= nginx.org }}</ref>
}}
==External links== * {{man|sh|poll|SUS}} * {{URL|http://mdoc.su/-/poll.2|man-pages for <code>poll(2)</code> in FreeBSD, NetBSD, OpenBSD and DragonFly BSD}}
Category:C POSIX library Category:Events (computing) Category:System calls Category:Unix {{compu-prog-stub}}