petsc-3.13.6 2020-09-29
Report Typos and Errors

PetscPushJSONValue

Puts a "key" : "value" pair onto a string

Synopsis

PetscErrorCode PetscPushJSONValue(char buff[],const char key[],const char value[],size_t bufflen)

Input Parameters

buffer - the char array where the value will be put
key - the key value to be set
value - the value associated with the key
bufflen - the size of the buffer (currently ignored)

Notes

Ignores lengths so can cause buffer overflow

Level

advanced

Location

src/sys/webclient/client.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages