Stream.flush

Sync's the stream to disk.

class Stream
int
flush
()

Return Value

Type: int

0 on success or %-1 on fail.