Searched refs:fork (Results 1 - 25 of 38) sorted by relevance

12

/ast/src/cmd/3d/
H A Dvfork3d.c25 * vfork == fork
34 extern int fork(void);
39 return(fork());
45 return(fork());
H A Dfork3d.c31 * called in the child process by fork()
55 (*fs->set)(fs, state.null, 0, "fork", 4);
133 NoN(fork)
/ast/src/lib/libast/comp/
H A Dvfork.c48 return(fork());
H A Dsetsid.c75 switch (fork())
H A Dspawnveg.c111 * open-edition/mvs/zos fork+exec+(setpgid)
152 * fork+exec+(setsid|setpgid)
201 pid = fork();
/ast/src/cmd/tests/sfio/
H A Dtmpread.c45 switch(fork())
48 terror("fork() failed");
H A Dtmprdwr.c139 switch(fork())
142 terror("fork() failed");
H A Dtmprocess.c103 /* fork processes */
110 #define FORK() fork()
H A Dttmp.c81 if((pid = fork()) < 0)
/ast/src/lib/libcs/
H A Dcsdaemon.c71 if (!(state->flags & CS_DAEMON_SLAVE)) switch (fork())
/ast/src/cmd/tests/vmalloc/
H A Dtmmopen.c86 switch((cpid = fork()) ) /* make a child process */
99 terror("Could not fork a child process");
H A Dtsharemem.c99 if((pid = fork()) < 0 )
100 terror("Could not fork() a subprocess");
/ast/src/cmd/tests/aso/
H A Dtproc.c100 if((pid = fork()) < 0)
H A Dtlock.c169 { if((pid = fork()) < 0 )
/ast/src/cmd/ksh93/sh/
H A Dtdump.c82 if(sfputu(outfile,t->fork.forkline)<0)
84 if(p_tree(t->fork.forktre)<0)
86 return(p_redirect(t->fork.forkio));
H A Ddeparse.c109 p_tree(t->fork.forktre,tflags);
110 p_redirect(t->fork.forkio);
121 else if(t->fork.forkio)
123 p_tree(t->fork.forktre,tflags);
124 if(t->fork.forkio)
125 p_redirect(t->fork.forkio);
H A Dparse.c242 * Make a parent node for fork() or io-redirection
247 par->fork.forktyp = flag;
248 par->fork.forktre = child;
249 par->fork.forkio = 0;
250 par->fork.forkline = sh_getlineno(lp)-1;
1185 t->if_.eltre = tt->fork.forktre;
1186 tt->fork.forktre = t;
H A Dtrestore.c80 t->fork.forkline = sfgetu(infile);
81 t->fork.forktre = r_tree(shp);
82 t->fork.forkio = r_redirect(shp);
H A Dsuid_exec.c45 * file and then exits. Actually, we fork() twice so the parent can
397 if((n=fork()) == 0)
401 if((n=fork()) == 0)
H A Dxec.c51 # define vfork() fork()
318 return(sh_tclear(t->fork.forktre));
829 lineno = t->fork.forkline;
838 t = t->fork.forktre;
841 t = t->fork.forktre;
1593 sh_exec(t->fork.forktre,0);
1708 /* This is the parent branch of fork
1831 error_info.line = t->fork.forkline-shp->st.firstline;
1868 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED));
1892 int simple = (t->fork
4058 pid_t fork(void) function
[all...]
/ast/src/lib/libtk/compat/
H A Dunistd.h48 extern pid_t fork _ANSI_ARGS_((void));
/ast/src/cmd/ksh93/include/
H A Dshnodes.h202 struct forknod fork; member in union:Shnode_u
/ast/src/cmd/vczip/tests/
H A Dterror.h53 extern int fork();
/ast/src/lib/libast/sfio/
H A Dsfhdr.h474 #if _lib_vfork && !defined(fork) && !defined(__sparc) && !defined(__sparc__)
481 #define fork vfork macro
1270 #if !defined(fork)
1271 extern int fork _ARG_((void));
H A Dsfpopen.c210 switch((pid = fork()) )

Completed in 69 milliseconds

12