Searched defs:fork (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/lib/libtnfprobe/
H A Dprobe_cntl.c424 * Functions to be interposed in front of fork and fork1.
437 #pragma weak fork = _tnf_fork macro
444 real_fork = (fork_t)dlsym(RTLD_NEXT, "fork");
674 * fork, fork1, and vfork
686 (void) sprintf(tmp_buf, "in interposed fork: \n");
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c58 pctx_sysc_forkfn_t *fork; member in struct:__pctx
132 pctx_error(pctx, fn, gettext("cannot fork, "
268 pctx->fork = (pctx_sysc_forkfn_t *)
305 if (pctx->fork == NULL)
306 pctx->fork = (pctx_sysc_forkfn_t *)default_void;
318 if (pctx->fork != (pctx_sysc_forkfn_t *)default_void) {
768 forkfn = pctx->fork;
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dshnodes.h201 struct forknod fork; member in union:Shnode_u
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dxec.c51 # define vfork() fork()
216 return(sh_tclear(t->fork.forktre));
534 register Shnode_t *tchild = t->fork.forktre;
1237 /* This is the parent branch of fork
1332 error_info.line = t->fork.forkline-shp->st.firstline;
1361 sh_exec(t->fork.forktre,flags|sh_state(SH_NOFORK)|sh_state(SH_FORKED));
1385 int simple = (t->fork.forktre->tre.tretyp&COMMSK)==TCOM;
1408 error_info.line = t->fork.forkline-shp->st.firstline;
1412 sh_redirect(shp,t->fork.forkio,execflg);
1413 (t->fork
3279 pid_t fork(void) function
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dscalls.c47 #pragma weak _fork = fork
92 * serialize calls to fork() and forkall(), but it also serializes calls
93 * to thr_suspend() and thr_continue() (because fork() and forkall() also
97 * call malloc() and free(). Such calls are not fork-safe when protected
104 * Within libc, calls to malloc() and free() are fork-safe if the calls
159 * We are a child of vfork(); omit all of the fork
162 * must never call fork().
179 * Cannot call fork() from a fork handler.
192 * If one of these pthread_atfork() functions attempts to fork
278 fork(void) function
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfhdr.h468 #if _lib_vfork && !defined(fork) && !defined(sparc) && !defined(__sparc)
475 #define fork vfork macro
1252 #if !defined(fork)
1253 extern int fork _ARG_((void));

Completed in 79 milliseconds