diff options
author | Rich Trott <rtrott@gmail.com> | 2023-01-13 17:10:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-14 01:10:38 +0000 |
commit | 5117c6c9e7418eecd6e73145a1f8339e18db323f (patch) | |
tree | a31f13164bbb75e2e54c65b189133fe8d6bbac9a /doc/api/net.md | |
parent | 36d54dc6e08d2a6cce35dc8cf3fbeabd87018ea6 (diff) | |
download | node-new-5117c6c9e7418eecd6e73145a1f8339e18db323f.tar.gz |
doc: use "file system" instead of "filesystem"
https://github.com/nodejs/node/pull/44004#discussion_r1067599238
PR-URL: https://github.com/nodejs/node/pull/46178
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Diffstat (limited to 'doc/api/net.md')
-rw-r--r-- | doc/api/net.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/net.md b/doc/api/net.md index 7e59789d36..f55c3d6d17 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -29,7 +29,7 @@ sockets on other operating systems. [`socket.connect()`][] take a `path` parameter to identify IPC endpoints. On Unix, the local domain is also known as the Unix domain. The path is a -filesystem pathname. It gets truncated to an OS-dependent length of +file system pathname. It gets truncated to an OS-dependent length of `sizeof(sockaddr_un.sun_path) - 1`. Typical values are 107 bytes on Linux and 103 bytes on macOS. If a Node.js API abstraction creates the Unix domain socket, it will unlink the Unix domain socket as well. For example, @@ -37,7 +37,7 @@ it will unlink the Unix domain socket as well. For example, [`server.close()`][] will unlink it. But if a user creates the Unix domain socket outside of these abstractions, the user will need to remove it. The same applies when a Node.js API creates a Unix domain socket but the program then -crashes. In short, a Unix domain socket will be visible in the filesystem and +crashes. In short, a Unix domain socket will be visible in the file system and will persist until unlinked. On Windows, the local domain is implemented using a named pipe. The path _must_ |