lgo_FormatStatusReport()
Print a status report to a user supplied buffer.
#include "laygo.h" LResult lgo_FormatStatusReport ( LStatusReport report, LMessage newline, LMessageBuffer buffer, LBufferSize size );
report | report to format |
newline | newline string |
buffer | output for formatted report |
size | size of buffer in bytes |
lgo_FormatStatusReport() prints a status report to a user supplied buffer.
If successful, lgo_FormatStatusReport() returns
the number of bytes written to buffer. The number of bytes written includes the
terminating NUL
. Otherwise, it returns a negative value indicating
the reason it failed. Possible unsuccessful return values are:
LResult result; if ((result = lgo_FormatStatusReport(report, NULL, buffer, size)) > 0) { fputs(buffer, stdout); }