-

Difference between revisions of "Functions HI-TECH C FWRITE"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>FWRITE</strong> ==SYNOPSIS== #include <stdio.h> int fwrite(void * buf, size_t size, size_t cnt, FILE * stream) ==DESCRIPTION== Cnt objects of length size bytes...")
 
(No difference)

Latest revision as of 20:08, 31 July 2017

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