]> git.saurik.com Git - bison.git/blob - lib/subpipe.h
Rewrite so that subpipe.h can stand alone. Assume C89 or better.
[bison.git] / lib / subpipe.h
1 /* Subprocesses with pipes.
2 Copyright (C) 2002, 2004 Free Software Foundation, Inc.
3
4 This file is part of Bison, the GNU Compiler Compiler.
5
6 Bison is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 Bison is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Bison; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA. */
20
21 /* Written by Paul Eggert <eggert@twinsun.com>
22 and Florian Krohm <florian@edamail.fishkill.ibm.com>. */
23
24 #if HAVE_SYS_TYPES_H
25 # include <sys/types.h>
26 #endif
27
28 void init_subpipe (void);
29 pid_t create_subpipe (char const * const *, int[2]);
30 void reap_subpipe (pid_t, char const *);