doc: note stdout and stderr special behaviors.

Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
This commit is contained in:
Julien Fontanet 2014-09-23 16:51:33 +02:00 committed by Chris Dickinson
parent 1781c8b85b
commit 95726b0fce

View File

@ -181,7 +181,8 @@ Example: the definition of `console.log`
};
`process.stderr` and `process.stdout` are unlike other streams in Node in
that writes to them are usually blocking.
that they cannot be closed (`end()` will throw), they never emit the `finish`
event and that writes are usually blocking.
- They are blocking in the case that they refer to regular files or TTY file
descriptors.
@ -209,7 +210,8 @@ See [the tty docs](tty.html#tty_tty) for more information.
A writable stream to stderr.
`process.stderr` and `process.stdout` are unlike other streams in Node in
that writes to them are usually blocking.
that they cannot be closed (`end()` will throw), they never emit the `finish`
event and that writes are usually blocking.
- They are blocking in the case that they refer to regular files or TTY file
descriptors.