char *s is the buffer to receive the formatted string.
register char *fmt is the format string. The function handles only %d and %s strings. It does not handle any width or precision strings.
va_list args is an STD argument variable obtained from a previous call to va_start.