Returns the maximum number of links to the file. If fd or path refer to a directory, then the value applies to the whole directory.