svn_stream_tee

Function svn_stream_tee 

Source
pub unsafe extern "C" fn svn_stream_tee(
    out1: *mut svn_stream_t,
    out2: *mut svn_stream_t,
    pool: *mut apr_pool_t,
) -> *mut svn_stream_t
Expand description

Return a writable stream which, when written to, writes to both of the underlying streams. Both of these streams will be closed upon closure of the returned stream; use svn_stream_disown() if this is not the desired behavior. One or both of @a out1 and @a out2 may be @c NULL. If both are @c NULL, @c NULL is returned.

@since New in 1.7.