Functions

OutErrF

Write formatted text to standard error

Syntax

Signature
void OutErrF( const char *format, ... );

Arguments

format printf-style format. NULL is treated as empty text.

... Values for the conversions in format.

Return value

No return value.

Description

Format a diagnostic with `printf()` conversions and send it through `OutErr()`. `GtSetStdErrConsole( T )` directs the output to the terminal window. Add `\n` to the format when it should end a line. The declaration enables format checking on supported compilers.

Example

outerrf.c
#include "xdev-wtui.h"

int main( void )
{
   OutErrF( "Cannot open %s.\n", "customers.dbf" );

   return 1;
}