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

Function printf_ln

strbuf.c:936–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

934}
935
936int printf_ln(const char *fmt, ...)
937{
938 int ret;
939 va_list ap;
940 va_start(ap, fmt);
941 ret = vprintf(fmt, ap);
942 va_end(ap);
943 if (ret < 0 || putchar('\n') == EOF)
944 return -1;
945 return ret + 1;
946}
947
948int fprintf_ln(FILE *fp, const char *fmt, ...)
949{

Callers 15

test_bitmap_commitsFunction · 0.85
test_bitmap_hashesFunction · 0.85
list_commandsFunction · 0.85
merge_ort_nonrecursiveFunction · 0.85
verify_bundleFunction · 0.85
notes_mergeFunction · 0.85
check_git_cmdFunction · 0.85
am_runFunction · 0.85
am_resolveFunction · 0.85
do_apply_stashFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_bitmap_commitsFunction · 0.68
test_bitmap_hashesFunction · 0.68