MCPcopy Create free account
hub / github.com/F-Stack/f-stack / skip_line

Function skip_line

dpdk/app/test-acl/main.c:520–532  ·  view source on GitHub ↗

Bypass comment and empty lines */

Source from the content-addressed store, hash-verified

518
519/* Bypass comment and empty lines */
520static int
521skip_line(const char *buf)
522{
523 uint32_t i;
524
525 for (i = 0; isspace(buf[i]) != 0; i++)
526 ;
527
528 if (buf[i] == 0 || buf[i] == COMMENT_LEAD_CHAR)
529 return 1;
530
531 return 0;
532}
533
534static void
535tracef_init(void)

Callers 2

tracef_initFunction · 0.85
add_cb_rulesFunction · 0.85

Calls 1

isspaceFunction · 0.85

Tested by

no test coverage detected