nochpoll man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

NOCHPOLL(9F)							  NOCHPOLL(9F)

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).

PARAMETERS
       dev
		   Device number.

       events
		   Event flags.

       anyyet
		   Check current events only.

       reventsp
		   Event flag pointer.

       pollhdrp
		   Poll head pointer.

DESCRIPTION
       The  nochpoll()	function  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
       The nochpoll() function returns ENXIO.

CONTEXT
       The  nochpoll()	function can be called from user, interrupt, or kernel
       context.

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

       Writing Device Drivers

				 Jan 16, 2006			  NOCHPOLL(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net