HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

                      Example of variable arguments in C

       void myprintf( char *format, ... )
          {
          va_list argptr;

          va_start ( argptr, format );
          vsprintf ( text, format, argptr );
          va_end ( argptr );
          write (1, text, strlen (text));
          }

Esc or Alt-X to exit stdarg Home/PgUp/PgDn/End ←↑↓→
Converted to HTML in 2006 by Timo Bingmann