@@ -2336,7 +2336,7 @@ Synchronous readdir(3).
2336
2336
2337
2337
The optional ` options ` argument can be a string specifying an encoding, or an
2338
2338
object with an ` encoding ` property specifying the character encoding to use for
2339
- the filenames passed to the callback . If the ` encoding ` is set to ` 'buffer' ` ,
2339
+ the filenames returned . If the ` encoding ` is set to ` 'buffer' ` ,
2340
2340
the filenames returned will be passed as ` Buffer ` objects.
2341
2341
2342
2342
## fs.readFile(path[ , options] , callback)
@@ -2508,7 +2508,7 @@ Synchronous readlink(2). Returns the symbolic link's string value.
2508
2508
2509
2509
The optional ` options ` argument can be a string specifying an encoding, or an
2510
2510
object with an ` encoding ` property specifying the character encoding to use for
2511
- the link path passed to the callback . If the ` encoding ` is set to ` 'buffer' ` ,
2511
+ the link path returned . If the ` encoding ` is set to ` 'buffer' ` ,
2512
2512
the link path returned will be passed as a ` Buffer ` object.
2513
2513
2514
2514
## fs.readSync(fd, buffer, offset, length, position)
@@ -2666,7 +2666,7 @@ Only paths that can be converted to UTF8 strings are supported.
2666
2666
2667
2667
The optional ` options ` argument can be a string specifying an encoding, or an
2668
2668
object with an ` encoding ` property specifying the character encoding to use for
2669
- the path passed to the callback . If the ` encoding ` is set to ` 'buffer' ` ,
2669
+ the path returned . If the ` encoding ` is set to ` 'buffer' ` ,
2670
2670
the path returned will be passed as a ` Buffer ` object.
2671
2671
2672
2672
On Linux, when Node.js is linked against musl libc, the procfs file system must
0 commit comments