VirtualBox

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

Last change on this file since 298 was 285, checked in by bird, 20 years ago

This commit was generated by cvs2svn to compensate for changes in r284,
which included commits to RCS files with non-trunk default branches.

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