| Home | Libraries | People | FAQ | More

## Function is_stream_handle

boost::this_process::is_stream_handle

## Synopsis

    // In header: <boost/process/handles.hpp>

    bool is_stream_handle(native_handle_type handle);
    bool is_stream_handle(native_handle_type handle, std::error_code & ec);

## Description

Determines if a given handle is a a stream-handle, i.e. any handle that can be used with read and write functions. Stream handles include pipes, regular files and sockets.

Returns: | Indicates if it's a stream handle.