VirtualBox

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

Last change on this file since 53 was 53, checked in by bird, 21 years ago

Initial revision

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1#ifndef SUB_PROC_H
2#define SUB_PROC_H
3
4/*
5 * Component Name:
6 *
7 * $Date: 1997/08/27 20:34:23 $
8 *
9 * $Source: /cvsroot/make/make/w32/include/sub_proc.h,v $
10 *
11 * $Revision: 1.4 $
12 */
13
14/* $Id: sub_proc.h,v 1.4 1997/08/27 20:34:23 psmith Exp $ */
15
16#ifdef WINDOWS32
17
18#define EXTERN_DECL(entry, args) extern entry args
19#define VOID_DECL void
20
21EXTERN_DECL(HANDLE process_init, (VOID_DECL));
22EXTERN_DECL(HANDLE process_init_fd, (HANDLE stdinh, HANDLE stdouth,
23 HANDLE stderrh));
24EXTERN_DECL(long process_begin, (HANDLE proc, char **argv, char **envp,
25 char *exec_path, char *as_user));
26EXTERN_DECL(long process_pipe_io, (HANDLE proc, char *stdin_data,
27 int stdin_data_len));
28EXTERN_DECL(long process_file_io, (HANDLE proc));
29EXTERN_DECL(void process_cleanup, (HANDLE proc));
30EXTERN_DECL(HANDLE process_wait_for_any, (VOID_DECL));
31EXTERN_DECL(void process_register, (HANDLE proc));
32EXTERN_DECL(HANDLE process_easy, (char** argv, char** env));
33EXTERN_DECL(BOOL process_kill, (HANDLE proc, int signal));
34
35/* support routines */
36EXTERN_DECL(long process_errno, (HANDLE proc));
37EXTERN_DECL(long process_last_err, (HANDLE proc));
38EXTERN_DECL(long process_exit_code, (HANDLE proc));
39EXTERN_DECL(long process_signal, (HANDLE proc));
40EXTERN_DECL(char * process_outbuf, (HANDLE proc));
41EXTERN_DECL(char * process_errbuf, (HANDLE proc));
42EXTERN_DECL(int process_outcnt, (HANDLE proc));
43EXTERN_DECL(int process_errcnt, (HANDLE proc));
44EXTERN_DECL(void process_pipes, (HANDLE proc, int pipes[3]));
45
46#endif
47#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