MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / main

Function main

src/misc/isc_grep.c:5–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <stdio.h>
4
5int main()
6{
7 char s[1024];
8 while (fgets(s, sizeof(s), stdin))
9 {
10 s[sizeof(s) - 1] = 0;
11 char* p = s;
12 while (isspace(*p))
13 ++p;
14 if (strncmp(p, "isc_", 4) == 0)
15 fputs(s, stdout);
16 }
17
18 return 0;
19}
20

Callers

nothing calls this directly

Calls 2

fgetsFunction · 0.85
fputsFunction · 0.85

Tested by

no test coverage detected