Close

Closes an IOStream.

Declaration

IOReturn ( *Close)(
   IOStreamRef stream );

Parameters

stream

The IOStreamRef of the stream to close.

Return Value

Returns kIOReturnSuccess if the stream was successfully closed and the buffers unmapped.

Overview

Calling Close umaps all shared memory for the stream and frees all user resources used by the stream.

See Also

Opening and closing streams

Open

Open an IOStream from user space.