Poll (Unix)

{{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 *BSD and macOS, it has been largely superseded by 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

}}

References

{{Reflist |refs=

{{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

}}

{{cite web

|url= http://nginx.org/en/docs/events.html

|title= Connection processing methods

|website= nginx.org

}}

}}