[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Write data to file descriptor
Source position: oldlinux.pp line 1385
function fdWrite( |
fd: LongInt; |
const buf; |
size: LongInt |
):LongInt; |
fdWrite writes at most size bytes from buf to file descriptor fd. The function returns the number of bytes actually written, or -1 if an error occurred.
Errors are returned in LinuxError.
|
Open file and return file descriptor |
|
|
Close file descriptor |
|
|
Read data from file descriptor |
|
|
Truncate file on certain size. |
|
|
Set file pointer position. |
|
|
Flush kernel file buffer |
lazarus-ccr.sourceforge.net |