Fix logs for last delta. Sorry for the screw-up.
[official-gcc.git] / libiberty / pex-common.h
blobdf3c0f6519c3329de93ed071623c201c1e6ae18b
1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
2 with other subprocesses), and wait for it. Shared logic.
3 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004
4 Free Software Foundation, Inc.
6 This file is part of the libiberty library.
7 Libiberty is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 Libiberty is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public
18 License along with libiberty; see the file COPYING.LIB. If not,
19 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 #ifndef PEX_COMMON_H
23 #define PEX_COMMON_H
25 #include "config.h"
26 #include "libiberty.h"
28 #define install_error_msg "installation problem, cannot exec `%s'"
30 /* stdin file number. */
31 #define STDIN_FILE_NO 0
33 /* stdout file number. */
34 #define STDOUT_FILE_NO 1
36 /* stderr file number. */
37 #define STDERR_FILE_NO 2
39 /* value of `pipe': port index for reading. */
40 #define READ_PORT 0
42 /* value of `pipe': port index for writing. */
43 #define WRITE_PORT 1
45 #endif