RGtk2 (version 2.20.31)

gOutputStreamSplice: gOutputStreamSplice

Description

Splices an input stream into an output stream.

Usage

gOutputStreamSplice(object, source, flags = "G_OUTPUT_STREAM_SPLICE_NONE", cancellable = NULL, .errwarn = TRUE)

Arguments

object
source
cancellable
optional GCancellable object, NULL to ignore.
.errwarn
Whether to issue a warning on error or fail silently

Value

A list containing the following elements:
retval
[integer] a integer containing the size of the data spliced, or -1 if an error occurred.
error
a GError location to store the error occuring, or NULL to ignore.