MCPcopy Create free account
hub / github.com/Vector35/debugger / main

Function main

test/src/cat.c:3–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include <stdio.h>
2
3int main(int ac, char **av)
4{
5 while (1) {
6 int ch = fgetc(stdin);
7 if (ch == EOF && (feof(stdin) || ferror(stdin))) {
8 break;
9 }
10 fputc(ch, stdout);
11 }
12
13 return 0;
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected