Zilog ZUSBOPTS Manual de usuario Pagina 485

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 520
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 484
UM017105-0511 Standard Functions
Zilog Developer Studio II – ZNEO™
User Manual
457
vsprintf
Equivalent to sprintf, with the variable argument list replaced by arg, which has been
initialized by the
va_start macro (and possibly subsequent va_arg calls). The
vsprintf function does not invoke the va_end function.
Synopsis
#include <stdarg.h>
#include <stdio.h>
int vsprintf(char *s, const char *format, va_list arg);
Returns
The number of characters written in the array, not counting the terminating null character.
Example
va_list va;
char buf[80];
/*initialize the variable argument va here*/
vsprint(buf, "%d %d %d",va);
Vista de pagina 484
1 2 ... 480 481 482 483 484 485 486 487 488 489 490 ... 519 520

Comentarios a estos manuales

Sin comentarios