Closes the file descriptor. This function is not capable of returning any indication of failure. An application which wants to ensure writes have succeeded before closing must call fsync
before close
. Note: The Zig standard library does not support POSIX thread cancellation.