StreamFs.with_fd


Description:

[ CCode ( has_construct_function = false , type = "CamelStream*" ) ]
public StreamFs.with_fd (int fd)

Creates a new fs stream using the given file descriptor fd as the backing store.

When the stream is destroyed, the file descriptor will be closed.

Parameters:

fd

a file descriptor

Returns:

a new StreamFs