<< Previous | Next >>

fread (FS1)

int fread( File * f, char * buf, int len );

Description

Reads len bytes from a file pointed to by f, starting at the current offset into the file, into buffer. Data is read into buffer pointed to by buf.

Parameters

f
A pointer to the file to read from.

buf
A pointer to the destination buffer.

len
Number of bytes to copy.

Return value

Number of bytes read.

Library

FILESYSTEM.LIB


Dynamic C Functions << Previous | Next >> rabbit.com