From 084f36dd99fd131e3468be90cb697f8baf58aad5 Mon Sep 17 00:00:00 2001 From: phette23 Date: Thu, 28 Apr 2016 12:41:31 -0700 Subject: [PATCH] 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 --- doc/api/fs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 5d73c38fe2e0e8..94b2da97f13c53 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -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