NWprintf(3nw)


NWprintf -- reorders parameter variable list before vprintf

Synopsis

   #include <time.h> or #define NWL_EXCLUDE_TIME 
   #include <stdio.h> or #define NWL_EXCLUDE_FILE 
   #include <nwlocale.h> 
   

int far cdecl NWprintf (char NWFAR *format, parameter_1, parameter_2);

Description

The parameters are as follows:

format
(IN) Points to the format string determining how the data will be formatted before sending it to standard output.

parameter_1, parameter_2,
(IN) Specifies the user-supplied variable list of parameters whose values are used in the formatted output.

Return values

Number of bytes output.

Notices

If the format string of NWprintf is prepended with a reordering vector, use it to reorder the variable list of parameters on the stack before C standard vprintf is called. Otherwise, NWprintf is the same as C standard printf.

To understand how to deal with the reordering vector, read the Novell publication, NetWare Internationalization Guide.

For information about data formatting, see printf(3S).

NWprintf uses two types of format strings. The first uses the %n %x format for each parameter, where n is the position of the parameter to use and x is the standard printf parameter type.

Services

Internationalization

NCP calls

None

References

NWsprintf(3nw), NWfprintf(3nw), NWvfprintf(3nw), NWvsprintf(3nw), NWvprintf(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.