StreamFs.with_name
Description:
[ CCode ( has_construct_function = false , type = "CamelStream*" ) ]
public StreamFs.with_name (string name, int flags, uint32 mode) throws Error
public StreamFs.with_name (string name, int flags, uint32 mode) throws Error
Creates a new StreamFs corresponding to the named file, flags, and mode.
Parameters:
name |
a local filename |
flags |
flags as in open(2) |
mode |
a file mode |
Returns:
the new stream, or null on error |