# PetscViewerStringSPrintf

Prints information to a PetscViewer string.

### Synopsis

    #include "petsc.h"
    PetscErrorCode PETSC_DLLEXPORT PetscViewerStringSPrintf(PetscViewer viewer,const char format[],...)

Collective on PetscViewer (Hmmm, each processor maintains a seperate string)

### Input Parameters

| v | - a string PetscViewer, formed by PetscViewerStringOpen()
| format | - the format of the input

### Fortran Note

This routine is not supported in Fortran.

### See Also

PetscViewerStringOpen()

Level:developer
Location:src/sys/src/viewer/impls/string/stringv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages