File indexing completed on 2024-04-07 04:44:55

0001 /*
0002     SPDX-FileCopyrightText: 2019 Nicolas Carion <french.ebook.lover@gmail.com>
0003     SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 #include "abortutil.hpp"
0006 #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
0007 
0008 void Disable_Console_Output()
0009 {
0010     // close C file descriptors
0011     fclose(stdout);
0012     fclose(stderr);
0013 }
0014 
0015 #endif