Functions HI-TECH C FWRITE
FWRITE
SYNOPSIS
#include <stdio.h> int fwrite(void * buf, size_t size, size_t cnt, FILE * stream)
DESCRIPTION
Cnt objects of length size bytes will be written from memory at buf, to the specified stream. The number of whole objects written will be returned, or 0 if none could be written. Any return value not equal to cnt should be treated as an error (cf. fread() ).
SEE ALSO
fread, fopen, fclose