Opens a file at `path` with the options specified by `self`.
(&self, path: P)
| 165 | /// Opens a file at `path` with the options specified by `self`. |
| 166 | /// |
| 167 | pub fn open<P: AsRef<Path>>(&self, path: P) -> Result<File, SyscallError> { |
| 168 | self._open(path.as_ref()) |
| 169 | } |
| 170 | |
| 171 | fn _open(&self, path: &Path) -> Result<File, SyscallError> { |
| 172 | let flags = message::O_READ + |
no test coverage detected