Writes output directly to the application's screen under format control.
#include <stdio.h> int cprintf ( const char *format, ...);
(IN) Points to the format specification string. See Print Format Control Strings.
(IN) Points to arguments for conversion specifiers. The number of arguments is determined by the format string.
Returns the number of characters written.
The cprintf function is a hard-wired console function. Even if stdout is redirected, cprintf prints the data to the application's screen.
If your application does not create a screen with the SCREENNAME directive at compile time, the output is directed to one of the following console screens:
On NetWare 5.x and earlier, to the System Console screen
On NetWare 6.0 and later, to the System Logger screen.
For more information on screen types and screen creation, see Section 3.3, Screen Management.