next up previous contents index
Next: FExpand Up: Functions and procedures Previous: fdTruncate

fdWrite

   

Declaration:

Function fdWrite (fd:longint;var 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, fdClose, fdRead,fdTruncate, fdSeek, fdFlush



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998