fwrite


Write to stream

Remark

These functions are not supported by the debugging functions which CS+ provides.

[Classification]

Standard library

[Syntax]

#include <stdio.h>

size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);

[Return value]

The number of elements that were output (nmemb) is returned.

Error return does not occur.

[Description]

This function outputs nmemb elements of size from the array pointed to by ptr to the output stream pointed to by stream. Only the standard input/output stdout or stderr can be specified for stream.