wsprintf(3scl)wsprintf(3scl)NAMEwsprintf - write a formatted wide-character string to buffer
LIBRARY
SCL Miscellaneous Library (libsolmisc.so, libsolmisc.a)
SYNOPSIS
#include <widec.h>
int wsprintf(wchar_t *str,
const char *format, ...);
PARAMETERS
Pointer to buffer to contain formatted wide-character output string.
Pointer to buffer containing a string specifying the characters and
format of optional parameters (...) to be written to str.
DESCRIPTION
The wsprintf() function behaves as function sprintf(3) except that the
output buffer contains a wide-character string terminated with the
wchar_t null character.
SCL IMPLEMENTATION NOTES
The output buffer is assumed to be large enough to contain the format‐
ted output.
RETURN VALUES
The number of characters written to the buffer, excluding the terminat‐
ing null, if successful, otherwise -1.
RELATED INFORMATION
Functions: sprintf(3), wsscanf(3scl)
Manual: Solaris Compatibility Library User's Guide
wsprintf(3scl)