flush


Description:

public virtual int flush (Cancellable? cancellable = null) throws Error

Flushes any buffered data to the stream's backing store.

Only meaningful for writable streams.

Parameters:

this

a Stream object

cancellable

optional Cancellable object, or null

Returns:

0 on success or -1 on fail along with setting throws




2022 vala-language.org