MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / cli_strcmp

Function cli_strcmp

modules/dasSQLITE/sqlite/shell.c:281–285  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

279
280/* A version of strcmp() that works with NULL values */
281static int cli_strcmp(const char *a, const char *b){
282 if( a==0 ) a = "";
283 if( b==0 ) b = "";
284 return strcmp(a,b);
285}
286static int cli_strncmp(const char *a, const char *b, size_t n){
287 if( a==0 ) a = "";
288 if( b==0 ) b = "";

Callers 9

str_in_arrayFunction · 0.85
explain_data_prepareFunction · 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