src/os: export correct values for os.DevNull for each OS

This commit introduces `os.DevNull` exports for all supported OS
targets.
This commit is contained in:
ZauberNerd
2022-03-04 21:14:06 +00:00
committed by Ron Evans
parent b176494e44
commit 3f69c32a55
4 changed files with 9 additions and 2 deletions
+2
View File
@@ -15,6 +15,8 @@ var (
Stderr = NewFile(2, "/dev/stderr")
)
const DevNull = "/dev/null"
// isOS indicates whether we're running on a real operating system with
// filesystem support.
const isOS = false