PetscErrorCode PetscVSNPrintf(char *str,size_t len,const char *format,size_t *fullLength,va_list Argp)
str | - location to put result | |
len | - the amount of space in str + format - the PETSc format string | |
fullLength | - the amount of space in str actually used. |
Developer Notes: this function may be called from an error handler, if an error occurs when it is called by the error handler than likely a recursion will occur and possible crash.