| [Overview][Constants][Types][Procedures and functions][Index] | 
Close file descriptor
Source position: bunxh.inc line 83
function FpClose(  | 
fd: cint  | 
):cint;  | 
FpClose closes a file with file descriptor Fd. The function returns zero if the file was closed successfully, a nonzero return value indicates an error.
For an example, see FpOpen.
Extended error information can be retrieved using fpGetErrno.
  | 
Open file and return file descriptor  | 
|
  | 
Read data from file descriptor  | 
|
  | 
Write data to file descriptor  | 
|
  | 
Truncate file on certain size.  | 
|
  | 
Set file pointer position.  |