str
    A pointer to a string that will receive the formatted output.
    This string is assumed to be large enough to hold the output.
 format
    A pointer to a character string that contains the format
    specification.
 ap
    A list of expressions whose resultant types correspond to the
    conversion specifications given in the format specifications.