0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00

doc: fix fs.realpath man pg links

There is no realpath(2), only in sections 1 & 3
causes broken link on nodejs.org/api/ docs

PR-URL: https://github.com/nodejs/node/pull/6451
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
phette23 2016-04-28 12:41:31 -07:00 committed by James M Snell
parent 563c9f8687
commit cebd52539e

View File

@ -962,7 +962,7 @@ Synchronous version of [`fs.read()`][]. Returns the number of `bytesRead`.
* `encoding` {String} default = `'utf8'`
* `callback` {Function}
Asynchronous realpath(2). The `callback` gets two arguments `(err,
Asynchronous realpath(3). The `callback` gets two arguments `(err,
resolvedPath)`. May use `process.cwd` to resolve relative paths.
The optional `options` argument can be a string specifying an encoding, or an
@ -976,7 +976,7 @@ the path returned will be passed as a `Buffer` object.
* `options` {String | Object}
* `encoding` {String} default = `'utf8'`
Synchronous realpath(2). Returns the resolved path.
Synchronous realpath(3). Returns the resolved path.
The optional `options` argument can be a string specifying an encoding, or an
object with an `encoding` property specifying the character encoding to use for