Use an absolute path to the NUL device While a bare "NUL" *should* be redirected to the NUL device, especially in this simple case, let's be explicit that we aren't opening a file called "NUL" and instead open it directly. This will also set a good example for people copying std code. r? libs |
||
|---|---|---|
| .. | ||
| common | ||
| hermit | ||
| itron | ||
| personality | ||
| sgx | ||
| solid | ||
| uefi | ||
| unix | ||
| unsupported | ||
| wasi | ||
| wasm | ||
| windows | ||
| xous | ||
| mod.rs | ||