os.devNull
v18.1.0
返回上层文档
搜索
►
▼
其他版本
18.1.0
16.15.0
14.19.2
新增于: v16.3.0, v14.18.0
<string>
空设备的特定于平台的文件路径。
Windows 上是
\\.\nul
POSIX 上是
/dev/null
Added in: v16.3.0, v14.18.0
<string>
The platform-specific file path of the null device.
\\.\nul
on Windows
/dev/null
on POSIX