Microsoft SDK for Java

jio_snprintf

Prints to a string with a buffer limit.

Syntax

int __cdecl jio_snprintf(char *str, size_t count, const char *fmt);

Return Value

Returns the length of the string after printing to it.

Parameters

*str The address of the string to print to.
count The limit of the number of characters to print.
*fmt The address of the format string.

Remarks

%ls and %S now print a Unicode string.

%p prints the address using hexadecimal.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.