other versions
- wheezy 3.2.78-1
DATAGRAM_POLL(9) | Linux Networking | DATAGRAM_POLL(9) |
NAME¶
datagram_poll - generic datagram pollSYNOPSIS¶
unsigned
int datagram_poll(struct file * file,
struct socket * sock,
poll_table * wait);
ARGUMENTS¶
filefile struct
sock
socket
wait
poll table
DATAGRAM POLL¶
Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive.NOTE¶
when you _don't_ use this routine for this protocol, and you use a different write policy from sock_writeable then please supply your own write_space callback.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |