---
name: "datagram_poll"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/datagram_poll"
---

# datagram\_poll(9)

generic datagram poll

## NAME

datagram\_poll - generic datagram poll

## SYNOPSIS

**unsigned int datagram\_poll(struct file \*** *file***, struct socket \*** *sock***, poll\_table \*** *wait***);**

## ARGUMENTS

*file*

file struct

*sock*

socket

*wait*

poll table

## DESCRIPTION

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
