MCPcopy Create free account
hub / github.com/Kitware/VTK / cli_strcmp

Function cli_strcmp

ThirdParty/sqlite/vtksqlite/shell.c:612–616  ·  view source on GitHub ↗

A version of strcmp() that works with NULL values */

Source from the content-addressed store, hash-verified

610
611/* A version of strcmp() that works with NULL values */
612static int cli_strcmp(const char *a, const char *b){
613 if( a==0 ) a = "";
614 if( b==0 ) b = "";
615 return strcmp(a,b);
616}
617static int cli_strncmp(const char *a, const char *b, size_t n){
618 if( a==0 ) a = "";
619 if( b==0 ) b = "";

Callers 8

str_in_arrayFunction · 0.85
dump_callbackFunction · 0.85
showHelpFunction · 0.85
output_file_openFunction · 0.85
shell_dbinfo_commandFunction · 0.85
optionMatchFunction · 0.85
do_meta_commandFunction · 0.85
wmainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected