-

Functions HI-TECH C FWRITE

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 20:08, 31 July 2017 by Kumokosi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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