source: branches/libc-0.6/src/binutils/libiberty/pex-common.h

Last change on this file was 607, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.4 KB
Line 
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
4 Free Software Foundation, Inc.
5
6This file is part of the libiberty library.
7Libiberty is free software; you can redistribute it and/or
8modify it under the terms of the GNU Library General Public
9License as published by the Free Software Foundation; either
10version 2 of the License, or (at your option) any later version.
11
12Libiberty is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15Library General Public License for more details.
16
17You should have received a copy of the GNU Library General Public
18License along with libiberty; see the file COPYING.LIB. If not,
19write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA. */
21
22#ifndef PEX_COMMON_H
23#define PEX_COMMON_H
24
25#include "config.h"
26#include "libiberty.h"
27
28#define install_error_msg "installation problem, cannot exec `%s'"
29
30/* stdin file number. */
31#define STDIN_FILE_NO 0
32
33/* stdout file number. */
34#define STDOUT_FILE_NO 1
35
36/* value of `pipe': port index for reading. */
37#define READ_PORT 0
38
39/* value of `pipe': port index for writing. */
40#define WRITE_PORT 1
41
42#endif
Note: See TracBrowser for help on using the repository browser.