Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vprintf(3C) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                              vprintf(3C)



        _________________________________________________________________
        vprintf                                                  function
        Print a variable argument list to the standard output file.
        _________________________________________________________________


        Calling Sequence

        #include <stdio.h>
        #include <varargs.h>
        valist ap;
        char *format;
        int n, vprintf();
        vastart(ap);
        n = vprintf(format, ap);
        vaend(ap);


        Description

        The vprintf function allows you to print a variable argument list
        to the standard output file.  It is similar to printf, except
        that instead of passing arguments after the format string
        directly to the function, you pass the argument pointer that is
        set up with va_start (see "The varargs.h Include File" in Chapter
        1).  See the "Input/Output Functions and Macros" section of
        Chapter 1 for buffering information on I/O functions and macros.


        Returns

        The vprintf function returns a negative value on error.


        Related Functions

        See also the printf function.

















        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026