Contents

isOpen

Determines whether a specific, or any, client has an IOService object open.

Declaration

virtual bool isOpen(
 const IOService *forClient = 0 ) const;

Parameters

  • forClient:

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

Return Value

<codetrueif the specific, or any, client has the IOService object open.

Overview

Returns the open state of an IOService object with respect to the specified client, or when it is open by any client.

See Also

Miscellaneous