MCPcopy Index your code
hub / github.com/git/git / check_pipe

Function check_pipe

run-command.c:1150–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1148#endif
1149
1150void check_pipe(int err)
1151{
1152 if (err == EPIPE) {
1153 if (in_async())
1154 async_exit(141);
1155
1156 signal(SIGPIPE, SIG_DFL);
1157 raise(SIGPIPE);
1158 /* Should never happen, but just in case... */
1159 exit(141);
1160 }
1161}
1162
1163int start_async(struct async *async)
1164{

Callers 4

packet_write_fmt_1Function · 0.85
maybe_flush_or_dieFunction · 0.85
fprintf_or_dieFunction · 0.85
write_or_dieFunction · 0.85

Calls 2

in_asyncFunction · 0.85
async_exitFunction · 0.85

Tested by

no test coverage detected