Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Doc improvements
Browse files Browse the repository at this point in the history
Fixes #1147.
Fixes #1139.
Fixes #1126.
Thanks ctide, kext, disfated.
  • Loading branch information
ry committed Jun 3, 2011
1 parent f23c45f commit 0cb4484
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/api/crypto.markdown
Expand Up @@ -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)
Expand Down
7 changes: 4 additions & 3 deletions doc/api/fs.markdown
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion doc/api/util.markdown
Expand Up @@ -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)
Expand Down

0 comments on commit 0cb4484

Please sign in to comment.