diff --git a/doc/api/os.md b/doc/api/os.md index f3d3f2d65249a4..b4fbde786fd2a6 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -122,6 +122,18 @@ The properties included on each object include: `nice` values are POSIX-only. On Windows, the `nice` values of all processors are always 0. +## `os.devnull()` + + +* Returns: {string} + +Returns the platform-specific file path of the null device: + +* `\\.\nul` on Windows +* `/dev/null` on POSIX + ## `os.endianness()` - -* {string} - -Provides the platform-specific file path of the null device: - -* `\\.\nul` on Windows -* `/dev/null` on POSIX - ## `path.dirname(path)`