@node fwrite, stdio @subheading Syntax @example #include size_t fwrite(void *buffer, size_t size, size_t number, FILE *file); @end example @subheading Description This function writes @var{size}*@var{number} characters from @var{buffer} to @var{file}. @subheading Return Value The number of items of size @var{size} written, or less if there was an error. @subheading Portability @portability ansi, posix @subheading Example @example int foo[10]; fwrite(foo, sizeof(int), 10, stdin); @end example