File: aux.h

package info (click to toggle)
wcc 0.0.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,528 kB
  • sloc: ansic: 112,755; asm: 1,160; makefile: 1,072; pascal: 133; cpp: 119; sh: 61
file content (8 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8

static int is_prefix_of(const char *a, const char *b) {
	return !strncmp(a, b, strlen(a));
}

static int str_eq(const char *a, const char *b) {
	return !strcmp(a, b);
}