Zilog ZUSBOPTS Manuel d'utilisateur Page 485

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 520
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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);
Vue de la page 484
1 2 ... 480 481 482 483 484 485 486 487 488 489 490 ... 519 520

Commentaires sur ces manuels

Pas de commentaire