@@ -829,7 +829,7 @@ added: v0.1.93 |
829 | 829 | --> |
830 | 830 |
|
831 | 831 | The path to the file the stream is writing to as specified in the first |
832 | | -argument to `fs.createWriteStream()`. If `path` is passed as a string, then |
| 832 | +argument to [`fs.createWriteStream()`][]. If `path` is passed as a string, then |
833 | 833 | `writeStream.path` will be a string. If `path` is passed as a `Buffer`, then |
834 | 834 | `writeStream.path` will be a `Buffer`. |
835 | 835 |
|
@@ -3428,7 +3428,8 @@ If this method is invoked as its [`util.promisify()`][]ed version, it returns |
3428 | 3428 | a `Promise` for an `Object` with `bytesWritten` and `buffer` properties. |
3429 | 3429 |
|
3430 | 3430 | It is unsafe to use `fs.write()` multiple times on the same file without waiting |
3431 | | -for the callback. For this scenario, `fs.createWriteStream()` is recommended. |
| 3431 | +for the callback. For this scenario, [`fs.createWriteStream()`][] is |
| 3432 | +recommended. |
3432 | 3433 |
|
3433 | 3434 | On Linux, positional writes don't work when the file is opened in append mode. |
3434 | 3435 | The kernel ignores the position argument and always appends the data to |
@@ -3475,7 +3476,8 @@ written is not necessarily the same as string characters written. See |
3475 | 3476 | [`Buffer.byteLength`][]. |
3476 | 3477 |
|
3477 | 3478 | It is unsafe to use `fs.write()` multiple times on the same file without waiting |
3478 | | -for the callback. For this scenario, `fs.createWriteStream()` is recommended. |
| 3479 | +for the callback. For this scenario, [`fs.createWriteStream()`][] is |
| 3480 | +recommended. |
3479 | 3481 |
|
3480 | 3482 | On Linux, positional writes don't work when the file is opened in append mode. |
3481 | 3483 | The kernel ignores the position argument and always appends the data to |
@@ -3536,7 +3538,7 @@ fs.writeFile('message.txt', 'Hello Node.js', 'utf8', callback); |
3536 | 3538 | Any specified file descriptor has to support writing. |
3537 | 3539 |
|
3538 | 3540 | It is unsafe to use `fs.writeFile()` multiple times on the same file without |
3539 | | -waiting for the callback. For this scenario, `fs.createWriteStream()` is |
| 3541 | +waiting for the callback. For this scenario, [`fs.createWriteStream()`][] is |
3540 | 3542 | recommended. |
3541 | 3543 |
|
3542 | 3544 | If a file descriptor is specified as the `file`, it will not be closed |
@@ -3905,7 +3907,7 @@ at the current position. See pwrite(2). |
3905 | 3907 |
|
3906 | 3908 | It is unsafe to use `filehandle.write()` multiple times on the same file |
3907 | 3909 | without waiting for the `Promise` to be resolved (or rejected). For this |
3908 | | -scenario, `fs.createWriteStream` is strongly recommended. |
| 3910 | +scenario, [`fs.createWriteStream()`][] is strongly recommended. |
3909 | 3911 |
|
3910 | 3912 | On Linux, positional writes do not work when the file is opened in append mode. |
3911 | 3913 | The kernel ignores the position argument and always appends the data to |
@@ -4787,6 +4789,7 @@ the file contents. |
4787 | 4789 | [`fs.chmod()`]: #fs_fs_chmod_path_mode_callback |
4788 | 4790 | [`fs.chown()`]: #fs_fs_chown_path_uid_gid_callback |
4789 | 4791 | [`fs.copyFile()`]: #fs_fs_copyfile_src_dest_flags_callback |
| 4792 | +[`fs.createWriteStream()`]: #fs_fs_createwritestream_path_options |
4790 | 4793 | [`fs.exists()`]: fs.html#fs_fs_exists_path_callback |
4791 | 4794 | [`fs.fstat()`]: #fs_fs_fstat_fd_options_callback |
4792 | 4795 | [`fs.ftruncate()`]: #fs_fs_ftruncate_fd_len_callback |
|