Gentee Programming Language > Documentation > Libraries Download documentation

read

Reading a file.
 
uint read(
      uint   handle,
      buf   rbuf,
      uint   size
)

Parameters

handleFile identifier.
rbufThe buffer where data will be read. Reading is carried out by adding data to the buffer. It means that read data will be added to those already existing in the buffer.
sizeThe size of the data being read.

Return value

The function returns the size of the read data.

See also

    Function working with files


 Copyright © 2004-2006 Gentee Inc. All rights reserved.