COHERENT manpages
This page displays the COHERENT manpage for fwrite() [Write into file stream].
List of available manpages
Index
fwrite() -- STDIO Function (libc) Write into file stream #include <stdio.h> int fwrite(buffer, size, n, fp) char *buffer; unsigned size, n; FILE *fp; fwrite() writes n items, each of size bytes, from buffer into the file stream pointed to by fp. Example For an example of how to use this function, see the entry for fopen(). See Also fread(), libc ANSI Standard, §7.9.8.2 POSIX Standard, §8.1 Diagnostics fwrite() normally returns the number of items written. If an error occurs, the returned value will not be the same as n.