Writes output to the console under format control.
#include <stdio.h> int vcprintf ( const char *format, va_list arg);
(IN) Points to the format control string. See Print Format Control Strings.
(IN) Specifies a variable argument list. The number of arguments is determined by the format string.
If successful, returns the number of characters written. Otherwise, returns a negative value and sets errno to one of the following:
The vcprintf function writes output to the console under control of the format parameter. The vcprintf function is similar to printf, with the variable argument list replaced with arg, which has been initialized by the va_start macro.
The vcprintf function is a hard-wired console function. Even if stdout is redirected, vcprintf prints the data to the application 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.