MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / crm_itoa

Function crm_itoa

lib/common/utils.c:332–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332char *
333crm_itoa(int an_int)
334{
335 int len = 32;
336 char *buffer = NULL;
337
338 buffer = calloc(1, (len + 1));
339 if (buffer != NULL) {
340 snprintf(buffer, len, "%d", an_int);
341 }
342
343 return buffer;
344}
345
346
347int

Callers 15

mainFunction · 0.85
mainFunction · 0.85
send_custom_trapFunction · 0.85
update_failcountsFunction · 0.85
setup_inputFunction · 0.85
cib_common_callbackFunction · 0.85
lrmd_ipc_dispatchFunction · 0.85
stonith_api_kickFunction · 0.85
stonith_api_timeFunction · 0.85
score2charFunction · 0.85
crm_xml_add_intFunction · 0.85
unpack_operationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected