datagram_poll(9)

datagram_poll9

Generic datagram poll

Usage

unsigned int datagram_poll(struct file * file, struct socket * sock, poll_table * wait);

Arguments

file

file struct

sock

socket

wait

poll table

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.