help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'oldlinux' (#rtl)

fdWrite

Write data to file descriptor

Declaration

Source position: oldlinux.pp line 1385

function fdWrite(

  fd: LongInt;

  const buf;

  size: LongInt

):LongInt;

Description

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

Errors are returned in LinuxError.

See also

fdOpen

  

Open file and return file descriptor

fdClose

  

Close file descriptor

fdRead

  

Read data from file descriptor

fdTruncate

  

Truncate file on certain size.

fdSeek

  

Set file pointer position.

fdFlush

  

Flush kernel file buffer

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505