method description:
Synchronized version of close().
syntax:
fs.closeSync(fd)
Since this method belongs to the fs module, the fs module (var fs= require(” fs ”)) needs to be introduced before use.
receive parameter:
fd
source code:
fs.closeSync = function(fd) {
return binding.close(fd);
};