gOutputStreamFlush: gOutputStreamFlush

Description Usage Arguments Details Value Author(s)

View source: R/gioFuncs.R

Description

Flushed any outstanding buffers in the stream. Will block during the operation. Closing the stream will implicitly cause a flush.

Usage

1
gOutputStreamFlush(object, cancellable = NULL, .errwarn = TRUE)

Arguments

object

a GOutputStream.

cancellable

optional cancellable object

.errwarn

Whether to issue a warning on error or fail silently

Details

This function is optional for inherited classes.

If cancellable is not NULL, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error G_IO_ERROR_CANCELLED will be returned.

Value

A list containing the following elements:

retval

[logical] TRUE on success, FALSE on error

error

location to store the error occuring, or NULL to ignore

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.