StreamFs.open

Creates a new #GMimeStreamFs object for the specified path.

class StreamFs
static
open
(
string path
,
int flags
,
int mode
)

Parameters

path string

the path to a file

flags int

as in open(2)

mode int

as in open(2)

Return Value

Type: gmime.stream.Stream

a stream using for reading and/or writing to the specified file path or null on error.

Throws