[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    nochpoll(9F) manual page Table of Contents

Name

nochpoll - error return function for non-pollable devices

Synopsis


#include <sys/ddi.h>
#include <sys/sunddi.h>

int nochpoll(dev_t dev, short events, int anyyet, short *reventsp, struct pollhead **pollhdrp);

Interface Level

Solaris DDI specific (Solaris DDI).

Arguments

dev
Device number.
events
Event flags.
anyyet
Check current events only.
reventsp
Event flag pointer.
pollhdrp
Poll head pointer.

Description

nochpoll() is a routine that simply returns the value ENXIO . It is intended to be used in the cb_ops(9S) structure of a device driver for devices that do not support the poll(2) system call.

Return Values

nochpoll() returns ENXIO .

Context

nochpoll() can be called from user or interrupt context.

See Also

poll(2) , chpoll(9E) , cb_ops(9S)


Table of Contents