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:
Faiz Halde 2016-05-12 11:59:29 +05:30 committed by James M Snell
parent ae178838eb
commit fc96fdaf68

View File

@ -332,7 +332,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'`