NWvsprintf(3nw)


NWvsprintf -- reorders parameter variable list before vsprintf

Synopsis

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

int NWAPI NWvsprintf (char NWFAR *buffer, char NWFAR *format, char NWFAR *argList);

Description

The parameters are as follows:

buffer
(OUT) Points to the buffer receiving the formatted data.

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

argList
(IN) Points to a variable list of parameters whose values are used in the formatted output.

Return values

Number of bytes output.

Notices

If NWvsprintf's format string is not prepended with a reordering vector, NWvsprintf is the same as C standard sprintf.

For information about formatting data, see printf in any C manual.

Services

Internationalization

NCP calls

None

References

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