@@ -2331,7 +2331,7 @@ Synchronous readdir(3).
2331
2331
2332
2332
The optional ` options ` argument can be a string specifying an encoding, or an
2333
2333
object with an ` encoding ` property specifying the character encoding to use for
2334
- the filenames passed to the callback . If the ` encoding ` is set to ` 'buffer' ` ,
2334
+ the filenames returned . If the ` encoding ` is set to ` 'buffer' ` ,
2335
2335
the filenames returned will be passed as ` Buffer ` objects.
2336
2336
2337
2337
## fs.readFile(path[ , options] , callback)
@@ -2503,7 +2503,7 @@ Synchronous readlink(2). Returns the symbolic link's string value.
2503
2503
2504
2504
The optional ` options ` argument can be a string specifying an encoding, or an
2505
2505
object with an ` encoding ` property specifying the character encoding to use for
2506
- the link path passed to the callback . If the ` encoding ` is set to ` 'buffer' ` ,
2506
+ the link path returned . If the ` encoding ` is set to ` 'buffer' ` ,
2507
2507
the link path returned will be passed as a ` Buffer ` object.
2508
2508
2509
2509
## fs.readSync(fd, buffer, offset, length, position)
@@ -2661,7 +2661,7 @@ Only paths that can be converted to UTF8 strings are supported.
2661
2661
2662
2662
The optional ` options ` argument can be a string specifying an encoding, or an
2663
2663
object with an ` encoding ` property specifying the character encoding to use for
2664
- the path passed to the callback . If the ` encoding ` is set to ` 'buffer' ` ,
2664
+ the path returned . If the ` encoding ` is set to ` 'buffer' ` ,
2665
2665
the path returned will be passed as a ` Buffer ` object.
2666
2666
2667
2667
On Linux, when Node.js is linked against musl libc, the procfs file system must
0 commit comments