mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: appendFileSync accepts fd as well
Refs: https://github.com/nodejs/node/issues/6508 PR-URL: https://github.com/nodejs/node/pull/6707 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
226b9668db
commit
64fcba2a2e
1 file changed
+1
-1
+1
-1
@@ -327,7 +327,7 @@ _Note: Specified file descriptors will not be closed automatically._
|
||||
|
||||
## fs.appendFileSync(file, data[, options])
|
||||
|
||||
* `file` {String | Buffer}
|
||||
* `file` {String | Buffer | Number} filename or file descriptor
|
||||
* `data` {String | Buffer}
|
||||
* `options` {Object | String}
|
||||
* `encoding` {String | Null} default = `'utf8'`
|
||||
|
||||
Reference in new issue
Block a user