Sun Java System Web Server 6.1 SP9 NSAPI Programmer's Guide

Parameters

char *s is the buffer to receive the formatted string.

int n is the maximum number of bytes allowed to be copied.

char *fmt is the format string. The function handles only %d and %s strings. It does not handle any width or precision strings.

... represents a sequence of parameters for the printf function.