int close(int fd);
close
closes an open file descriptor. Once no open references exist of a
file descriptor, its resources are freed, and the file deleted if needed.
The syscall returns 0 on success and -1 in failure, and errno is set to:
EBADF
: The passed file to close
is not valid.