[Overview][Constants][Types][Procedures and functions] | Reference for unit 'BaseUnix' (#rtl) |
Write data to file descriptor
Source position: line 0
function FpWrite( |
fd: cint; |
buf: pChar; |
nbytes: TSize |
):TsSize; |
fd: cint; |
const buf; |
nbytes: TSize |
):TsSize; |
FpWrite writes at most nbytes bytes from buf to file descriptor fd.
The function returns the number of bytes actually written, or -1 if an error occurred.
Extended error information can be retrieved using fpGetErrno.
|
Open file and return file descriptor |
|
|
Close file descriptor |
|
|
Read data from file descriptor |
|
|
Truncate file on certain size. |
|
|
Set file pointer position. |
No notes exist for this page yet.