-

Functions HI-TECH C FWRITE

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

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