Function init_string

Synopsis

#include <libjson-rpc-cpp/src/jsonrpccpp/client/connectors/httpclient.cpp>

void init_string(struct string *s)

Description

No description yet.

Examples

//
//

Source

From lines 49-54 in src/jsonrpccpp/client/connectors/httpclient.cpp

void init_string(struct string *s)
{
    s->len = 0;
    s->ptr = (char*) malloc(s->len + 1);
    s->ptr[0] = '\0';
}


Discussions

There are 0 discussions relevant for this page, and 0 discussions in the whole project.




Add Discussion

Log in to comment