|
1 /* Generated automatically */ |
|
2 #ifdef HAVE_GETRLIMIT |
|
3 #endif /* HAVE_GETRLIMIT */ |
|
4 static pid_t zfork _((struct timeval*tv)); |
|
5 static int execcursh _((Estate state,int do_exec)); |
|
6 static int zexecve _((char*pth,char**argv)); |
|
7 static int isgooderr _((int e,char*dir)); |
|
8 static int execsimple _((Estate state)); |
|
9 static int execpline _((Estate state,wordcode slcode,int how,int last1)); |
|
10 static void execpline2 _((Estate state,wordcode pcode,int how,int input,int output,int last1)); |
|
11 static char**makecline _((LinkList list)); |
|
12 static int clobber_open _((struct redir*f)); |
|
13 static void closemn _((struct multio**mfds,int fd)); |
|
14 static void closemnodes _((struct multio**mfds)); |
|
15 static void closeallelse _((struct multio*mn)); |
|
16 static void addfd _((int forked,int*save,struct multio**mfds,int fd1,int fd2,int rflag)); |
|
17 static void addvars _((Estate state,Wordcode pc,int export)); |
|
18 static void execcmd _((Estate state,int input,int output,int how,int last1)); |
|
19 static void save_params _((Estate state,Wordcode pc,LinkList*restore_p,LinkList*remove_p)); |
|
20 static void restore_params _((LinkList restorelist,LinkList removelist)); |
|
21 static void fixfds _((int*save)); |
|
22 static void entersubsh _((int how,int cl,int fake,int revertpgrp)); |
|
23 static int getherestr _((struct redir*fn)); |
|
24 static Eprog parsecmd _((char*cmd)); |
|
25 static int getpipe _((char*cmd,int nullexec)); |
|
26 static void mpipe _((int*pp)); |
|
27 static void spawnpipes _((LinkList l,int nullexec)); |
|
28 static int execcond _((Estate state,UNUSED(int do_exec))); |
|
29 static int execarith _((Estate state,UNUSED(int do_exec))); |
|
30 static int exectime _((Estate state,UNUSED(int do_exec))); |
|
31 static int execfuncdef _((Estate state,UNUSED(int do_exec))); |
|
32 static void execshfunc _((Shfunc shf,LinkList args)); |
|
33 static int execautofn _((Estate state,UNUSED(int do_exec))); |
|
34 static char*cancd _((char*s)); |
|
35 static int cancd2 _((char*s)); |