Function fdClose (fd:longint) : boolean;
fdClose closes a file with file descriptor Fd. The function returns True if the file was closed successfully, False otherwise.
Errors are returned in LinuxError
fdOpen, fdRead, fdWrite,fdTruncate, fdFlush, seefFdSeek
For an example, see fdOpen.