MCPcopy Create free account
hub / github.com/coreutils/coreutils / xfopen

Function xfopen

src/sort.c:1026–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024 failure. */
1025
1026static FILE *
1027xfopen (char const *file, char const *how)
1028{
1029 FILE *fp = stream_open (file, how);
1030 if (!fp)
1031 sort_die (_("open failed"), file);
1032 return fp;
1033}
1034
1035/* Close FP, whose name is FILE, and report any errors. */
1036

Callers 3

checkFunction · 0.85
sortFunction · 0.85
mainFunction · 0.85

Calls 2

stream_openFunction · 0.85
sort_dieFunction · 0.85

Tested by

no test coverage detected