Method description:
Close the file asynchronously.
Grammar:
Since this method belongs to the fs module, the fs module needs to be introduced before use (var fs= require(“fs”) )
Receive parameters:
fd The file descriptor passed when the file is opened.
callback Callback
Example:
Source code:
[code]
fs.close = function(fd, callback) {
binding.close(fd, makeCallback(callback));
};
[code]