MCPcopy Create free account
hub / github.com/duckdb/duckdb / CloseOutputFile

Method CloseOutputFile

tools/shell/shell.cpp:1312–1316  ·  view source on GitHub ↗

** Close an output file, assuming it is not stderr or stdout */

Source from the content-addressed store, hash-verified

1310** Close an output file, assuming it is not stderr or stdout
1311*/
1312void ShellState::CloseOutputFile(FILE *f) {
1313 if (f && f != stdout && f != stderr) {
1314 fclose(f);
1315 }
1316}
1317
1318/*
1319** Try to open an output file. The names "stdout" and "stderr" are

Callers 1

ToggleLogFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected