ConsolePrintf

Writes a message to a console screen

Local Servers:nonblocking
Remote Servers:N/A
Classification:3.x, 4.x, 5.x, 6.x
Service:Screen Handling

Syntax

  #include <nwconio.h>  
   
  void ConsolePrintf  (  
     const char   *format,   
     ...); 
  

Parameters

format

(IN) Points to the format control string.

Remarks

The ConsolePrintf function writes output under control of the argument format. The format string is described under the description of the printf function.

However, the format string has several limitations from that described under printf. The limitations are:

  • Asterisk (*) is not allowed for the width or precision specification.

  • No type length specifiers are allowed.

  • The only format control flag allowed is "-", and the following conversions are not allowed:

e

E

f

F

g

G

i

n

p

X

  • The \n character only performs a line-feed (with printf, \n performs carriage-return/line-feed.

On NetWare 5.x and earlier, the ConsolePrintf function writes output to the System Console Screen. On NetWare 6.0 and later, it writes output to the Logger Screen.

See Also

printf (Single and Intra-File Services)