.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "DATAGRAM_POLL" "" "06 October 2005" "" "" .SH NAME datagram_poll \- generic datagram poll .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned int datagram_poll (struct file * \fIfile\fB, struct socket * \fIsock\fB, poll_table * \fIwait\fB); \fR .SH "ARGUMENTS" .TP \fB\fIfile\fB\fR -- undescribed -- .TP \fB\fIsock\fB\fR -- undescribed -- .TP \fB\fIwait\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP \fIfile\fR - file struct \fIsock\fR - socket \fIwait\fR - poll table .SH "DATAGRAM POLL" .PP Again totally generic. This also handles sequenced packet sockets providing the socket receive queue is only ever holding data ready to receive. .SH "NOTE" .PP when you _don't_ use this routine for this protocol, and you use a different write policy from \fBsock_writeable\fR then please supply your own write_space callback.