Commit 5d336f1
committed
Export semihistory::hio::open()
It's useful for opening various files on the host.
For example:
let mut file = open("file.bin\0", nr::open::RW_TRUNC_BINARY).unwrap();
file.write_all(b"Some binary content").unwrap();1 parent ef049c9 commit 5d336f1
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
0 commit comments