Contents

handleIsOpen

Overrideable method to control the open / close behaviour of an IOService.

Declaration

virtual bool handleIsOpen(
 const IOService *forClient ) const;

Parameters

  • forClient:

    If non-zero, isOpen returns the open state for that client. If zero is passed, isOpen returns the open state for all clients.

Return Value

Returns true if the specific, or any, client has the IOService open.

Overview

See IOService for discussion.

See Also

Miscellaneous