5 Copyright © 2008-2011, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
11 #include <exec/exec.h>
13 #include <sys/types.h>
14 #include <aros/startup.h>
20 struct vfork_data
*prev
;
24 int *parent_olderrorptr
;
25 jmp_buf parent_oldexitjmp
, parent_newexitjmp
;
27 struct aroscbase
*parent_aroscbase
;
29 int parent_cd_changed
;
32 struct __env_item
*parent_env_list
;
33 APTR parent_internalpool
;
35 fdesc
**parent_fd_array
;
39 struct arosc_privdata
*cpriv
;
41 int child_error
, child_errno
;
43 struct aroscbase
*child_aroscbase
;
44 jmp_buf child_exitjmp
;
46 const char *exec_filename
;
47 char *const *exec_argv
;
48 char *const *exec_envp
;
52 pid_t
__vfork(jmp_buf env
);
53 void vfork_longjmp (jmp_buf env
, int val
);
55 #endif /* __VFORK_H */