diff options
author | Ryan <ry@tinyclouds.org> | 2009-06-23 10:26:17 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-06-23 10:26:17 +0200 |
commit | b9f3ae23cfffbeba5697b652689bc8e51bf0fe63 (patch) | |
tree | 684dc2d6b3c653f0952200c6e465fd6e411cc4f3 | |
parent | 0ff62b2ea070aa4d1d3b11f6d7d71bc45643fecc (diff) | |
download | nodejs-b9f3ae23cfffbeba5697b652689bc8e51bf0fe63.tar.gz nodejs-b9f3ae23cfffbeba5697b652689bc8e51bf0fe63.tar.bz2 nodejs-b9f3ae23cfffbeba5697b652689bc8e51bf0fe63.zip |
Fix some typos in the docs
-rw-r--r-- | website/api.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/website/api.html b/website/api.html index 7b8236962..bd89007a2 100644 --- a/website/api.html +++ b/website/api.html @@ -167,7 +167,7 @@ At the moment the received data is always a string and utf8 encoded. (More encodings will be supported in the future.) - <p>If the process closes it's <code>stdout</code>, this callback will + <p>If the process closes its <code>stdout</code>, this callback will be issued with <code>null</code> as an argument. Be prepared for this possibility. </dd> @@ -177,14 +177,14 @@ At the moment the received data is always a string and utf8 encoded. (More encodings will be supported in the future.) - <p>If the process closes it's <code>stderr</code>, this callback will + <p>If the process closes its <code>stderr</code>, this callback will be issued with <code>null</code> as an argument. Be prepared for this possibility. </dd> <dt><code>process.onExit = function (exit_code) { };</code></dt> - <dd>A callback which is called when the sub-process exits. The argument - is the exit status of the child. + <dd>A callback which is called when the child process terminates. + The argument is the exit status of the child. </dd> <dt><code>process.write(data, encoding="ascii");</code></dt> @@ -194,7 +194,7 @@ </dd> <dt><code>process.close();</code></dt> - <dd>Closes the processes <code>stdin</code> stream.</dd> + <dd>Closes the process's <code>stdin</code> stream.</dd> <dt><code>process.kill(signal=node.SIGTERM);</code></dt> <dd>Kills the child process with the given signal. If no argument is |