40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf/* Close standard output and standard error.
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf Copyright (C) 1998, 2000, 2003-2004, 2006, 2008-2010 Free Software
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf Foundation, Inc.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf This program is free software: you can redistribute it and/or modify
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf it under the terms of the GNU General Public License as published by
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf the Free Software Foundation; either version 3 of the License, or
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf (at your option) any later version.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf This program is distributed in the hope that it will be useful,
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf but WITHOUT ANY WARRANTY; without even the implied warranty of
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf GNU General Public License for more details.
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf You should have received a copy of the GNU General Public License
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf along with this program. If not, see <http://www.gnu.org/licenses/>. */
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#ifndef CLOSEOUT_H
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# define CLOSEOUT_H 1
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# include <stdbool.h>
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# ifdef __cplusplus
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfextern "C" {
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# endif
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfvoid close_stdout_set_file_name (const char *file);
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfvoid close_stdout_set_ignore_EPIPE (bool ignore);
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azfvoid close_stdout (void);
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# ifdef __cplusplus
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng}
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf# endif
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf#endif
40db2e2b777b79f3dd0d6d9629593a07f86b9c0azf