nochpoll(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

nochpoll(9f)

nochpoll(9F)                   Kernel Functions                   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 in Oracle Solaris 11.4



Oracle Solaris 11.4               16 Jan 2006                     nochpoll(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3