Function cfile::open_stream
[−]
[src]
pub fn open_stream<S: AsRawFd>(s: &S, mode: &str) -> Result<CFile>
associates a stream with the existing file descriptor.
The mode of the stream must be compatible with the mode of the file descriptor.