NWsprintf(3nw)
NWsprintf --
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 far cdecl NWsprintf
(char NWFAR
buffer,
char NWFAR
format,
parameter_1,
parameter_2);
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.
- 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 NWsprintf's format string is prepended with a reordering
vector, it reorders the variable list of parameters on the stack before
C standard vsprintf is called. Otherwise, NWsprintf
is the same as C standard sprintf.
For information about data formatting, see printf in any C manual.
Services
Internationalization
NCP calls
None
References
NWfprintf(3nw),
NWprintf(3nw),
NWvfprintf(3nw),
NWvsprintf(3nw),
NWvprintf(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.