VirtualBox

source: kBuild/trunk/src/gmake/w32/include/sub_proc.h@ 535

Last change on this file since 535 was 503, checked in by bird, 18 years ago

Untested merge with GNU Make v3.81 (vendor/gnumake/2005-05-16 -> vendor/gnumake/current).

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1/* Definitions for Windows process invocation.
2Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
32006 Free Software Foundation, Inc.
4This file is part of GNU Make.
5
6GNU Make is free software; you can redistribute it and/or modify it under the
7terms of the GNU General Public License as published by the Free Software
8Foundation; either version 2, or (at your option) any later version.
9
10GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
11WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
12A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License along with
15GNU Make; see the file COPYING. If not, write to the Free Software
16Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
17
18#ifndef SUB_PROC_H
19#define SUB_PROC_H
20
21/*
22 * Component Name:
23 *
24 * $Date: 2006/02/11 22:16:05 $
25 *
26 * $Source: /sources/make/make/w32/include/sub_proc.h,v $
27 *
28 * $Id: sub_proc.h,v 1.8 2006/02/11 22:16:05 psmith Exp $
29 */
30
31#define EXTERN_DECL(entry, args) extern entry args
32#define VOID_DECL void
33
34EXTERN_DECL(HANDLE process_init, (VOID_DECL));
35EXTERN_DECL(HANDLE process_init_fd, (HANDLE stdinh, HANDLE stdouth,
36 HANDLE stderrh));
37EXTERN_DECL(long process_begin, (HANDLE proc, char **argv, char **envp,
38 char *exec_path, char *as_user));
39EXTERN_DECL(long process_pipe_io, (HANDLE proc, char *stdin_data,
40 int stdin_data_len));
41EXTERN_DECL(long process_file_io, (HANDLE proc));
42EXTERN_DECL(void process_cleanup, (HANDLE proc));
43EXTERN_DECL(HANDLE process_wait_for_any, (VOID_DECL));
44EXTERN_DECL(void process_register, (HANDLE proc));
45EXTERN_DECL(HANDLE process_easy, (char** argv, char** env));
46EXTERN_DECL(BOOL process_kill, (HANDLE proc, int signal));
47EXTERN_DECL(int process_used_slots, (VOID_DECL));
48
49/* support routines */
50EXTERN_DECL(long process_errno, (HANDLE proc));
51EXTERN_DECL(long process_last_err, (HANDLE proc));
52EXTERN_DECL(long process_exit_code, (HANDLE proc));
53EXTERN_DECL(long process_signal, (HANDLE proc));
54EXTERN_DECL(char * process_outbuf, (HANDLE proc));
55EXTERN_DECL(char * process_errbuf, (HANDLE proc));
56EXTERN_DECL(int process_outcnt, (HANDLE proc));
57EXTERN_DECL(int process_errcnt, (HANDLE proc));
58EXTERN_DECL(void process_pipes, (HANDLE proc, int pipes[3]));
59
60#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette