Method description:
Synchronized version of close() .
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.
Source code: