Contents

getStreamMode

Returns the mode of the stream, either input or output.

Declaration

virtual IOStreamMode getStreamMode(
 void);

Return Value

The mode of the stream, either kIOStreamModeInput (from user space to kernel space) or the default kIOStreamModeOutput (from kernel space to user space).

See Also

Stream control