MCPcopy Create free account
hub / github.com/git/git / write_or_die

Function write_or_die

write-or-die.c:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void write_or_die(int fd, const void *buf, size_t count)
92{
93 if (write_in_full(fd, buf, count) < 0) {
94 check_pipe(errno);
95 die_errno("write error");
96 }
97}
98
99void fwrite_or_die(FILE *f, const void *buf, size_t count)
100{

Callers 15

write_zip_data_descFunction · 0.85
write_zip_entryFunction · 0.85
write_zip64_trailerFunction · 0.85
write_zip_trailerFunction · 0.85
send_client_dataFunction · 0.85
create_pack_fileFunction · 0.85
tar_write_blockFunction · 0.85
tgz_deflateFunction · 0.85
rpc_inFunction · 0.85
rpc_serviceFunction · 0.85
fetch_gitFunction · 0.85
push_gitFunction · 0.85

Calls 3

write_in_fullFunction · 0.85
check_pipeFunction · 0.85
die_errnoFunction · 0.85

Tested by 2

unpack_sidebandFunction · 0.68