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:
parent
ae178838eb
commit
fc96fdaf68
@ -332,7 +332,7 @@ _Note: Specified file descriptors will not be closed automatically._
|
|||||||
|
|
||||||
## fs.appendFileSync(file, data[, options])
|
## fs.appendFileSync(file, data[, options])
|
||||||
|
|
||||||
* `file` {String | Buffer}
|
* `file` {String | Buffer | Number} filename or file descriptor
|
||||||
* `data` {String | Buffer}
|
* `data` {String | Buffer}
|
||||||
* `options` {Object | String}
|
* `options` {Object | String}
|
||||||
* `encoding` {String | Null} default = `'utf8'`
|
* `encoding` {String | Null} default = `'utf8'`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user