diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-06-03 13:19:06 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-06-03 13:27:35 +0200 |
commit | 0cb4484d433ce0dc27015f18159c2e9d0c601081 (patch) | |
tree | 16170c530c9e7e65dbaea5e311c4d29e351e623d /doc | |
parent | f23c45f7f46143c225696b57422234d746698b73 (diff) | |
download | android-node-v8-0cb4484d433ce0dc27015f18159c2e9d0c601081.tar.gz android-node-v8-0cb4484d433ce0dc27015f18159c2e9d0c601081.tar.bz2 android-node-v8-0cb4484d433ce0dc27015f18159c2e9d0c601081.zip |
Doc improvements
Fixes #1147.
Fixes #1139.
Fixes #1126.
Thanks ctide, kext, disfated.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/crypto.markdown | 2 | ||||
-rw-r--r-- | doc/api/fs.markdown | 7 | ||||
-rw-r--r-- | doc/api/util.markdown | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index cefbd7b3a4..b47808ba98 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -108,7 +108,7 @@ The `output_decoding` specifies in what format to return the deciphered plaintex ### decipher.final(output_encoding='binary') Returns any remaining plaintext which is deciphered, -with `output_encoding' being one of: `'binary'`, `'ascii'` or `'utf8'`. +with `output_encoding` being one of: `'binary'`, `'ascii'` or `'utf8'`. ### crypto.createSign(algorithm) diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown index 506883bbfe..dd4f1a98d9 100644 --- a/doc/api/fs.markdown +++ b/doc/api/fs.markdown @@ -103,14 +103,15 @@ See the [fs.Stats](#fs.Stats) section below for more information. ### fs.lstat(path, [callback]) Asynchronous lstat(2). The callback gets two arguments `(err, stats)` where -`stats` is a `fs.Stats` object. lstat() is identical to stat(), except that if -path is a symbolic link, then the link itself is stat-ed, not the file that it +`stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if +`path` is a symbolic link, then the link itself is stat-ed, not the file that it refers to. ### fs.fstat(fd, [callback]) Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where -`stats` is a `fs.Stats` object. +`stats` is a `fs.Stats` object. `fstat()` is identical to `stat()`, except that +the file to be stat-ed is specified by the file descriptor `fd`. ### fs.statSync(path) diff --git a/doc/api/util.markdown b/doc/api/util.markdown index 0935860c8c..fdeb5b0c45 100644 --- a/doc/api/util.markdown +++ b/doc/api/util.markdown @@ -16,7 +16,7 @@ output `string` immediately to `stderr`. Output with timestamp on `stdout`. - require('util').log('Timestmaped message.'); + require('util').log('Timestamped message.'); ### util.inspect(object, showHidden=false, depth=2) |