Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ fwrite ] #include <stdio.h> size_t fwrite( void *buf, size_t size, size_t n, FILE *stream ); <buf> is an array with (at least) <n> elements. <size> is the size of each element: <size> = sizeof(buf[0]) <n> is the number of elements in <buf> (to be written). <stream> is an open stream (see fopen). Function writes <size> * <n> bytes from array <buf>. It returns the number of bytes written (error if < size * n). See also Standard I/O and fputs().