MCPcopy Create free account
hub / github.com/F-Stack/f-stack / closeDirectLogFiledes

Function closeDirectLogFiledes

app/redis-6.2.6/src/debug.c:1538–1541  ·  view source on GitHub ↗

Used to close what closeDirectLogFiledes() returns. */

Source from the content-addressed store, hash-verified

1536
1537/* Used to close what closeDirectLogFiledes() returns. */
1538void closeDirectLogFiledes(int fd) {
1539 int log_to_stdout = server.logfile[0] == '\0';
1540 if (!log_to_stdout) close(fd);
1541}
1542
1543#ifdef HAVE_BACKTRACE
1544

Callers 2

logStackTraceFunction · 0.85

Calls 1

closeFunction · 0.70

Tested by

no test coverage detected