A version of strcmp() that works with NULL values */
| 279 | |
| 280 | /* A version of strcmp() that works with NULL values */ |
| 281 | static 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 | } |
| 286 | static int cli_strncmp(const char *a, const char *b, size_t n){ |
| 287 | if( a==0 ) a = ""; |
| 288 | if( b==0 ) b = ""; |
no outgoing calls
no test coverage detected