Skip to content
Permalink
Browse files

doc: simplify system call material in doc overview

PR-URL: #27966
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information...
Trott committed May 30, 2019
1 parent f86100c commit 187b05640837443353ec4183e203f352ff0af88a
Showing with 5 additions and 11 deletions.
  1. +5 −11 doc/api/documentation.md
@@ -51,20 +51,14 @@ added: v0.6.12
Every `.html` document has a corresponding `.json` document. This is for IDEs Every `.html` document has a corresponding `.json` document. This is for IDEs
and other utilities that consume the documentation. and other utilities that consume the documentation.


## Syscalls and man pages ## System calls and man pages


System calls like open(2) and read(2) define the interface between user programs Node.js functions which wrap a system call will document that. The docs link
and the underlying operating system. Node.js functions to the corresponding man pages which describe how the system call works.
which wrap a syscall,
like [`fs.open()`][], will document that. The docs link to the corresponding man
pages (short for manual pages) which describe how the syscalls work.


Most Unix syscalls have Windows equivalents, but behavior may differ on Windows Most Unix system calls have Windows analogues. Still, behavior differences may
relative to Linux and macOS. For an example of the subtle ways in which it's be unavoidable.
sometimes impossible to replace Unix syscall semantics on Windows, see [Node.js
issue 4760](https://github.com/nodejs/node/issues/4760).


[`fs.open()`]: fs.html#fs_fs_open_path_flags_mode_callback
[the contributing guide]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md [the contributing guide]: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
[the issue tracker]: https://github.com/nodejs/node/issues/new [the issue tracker]: https://github.com/nodejs/node/issues/new
[V8 JavaScript engine]: https://v8.dev/ [V8 JavaScript engine]: https://v8.dev/

0 comments on commit 187b056

Please sign in to comment.
You can’t perform that action at this time.