Home
last modified time | relevance | path

Searched refs:fork (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/titanic_50/usr/src/uts/common/os/
H A Dproc.c41 void (*fork)(void *, void *), in installpctx()
50 pctx->fork_op = fork; in installpctx()
67 void (*fork)(void *, void *), in removepctx()
77 pctx->fork_op == fork && in removepctx()
/titanic_50/usr/src/cmd/amt/
H A Damt.c203 if ((pid = fork()) == -1) { in data_boundary_test()
302 if ((pid = fork()) == -1) { in text_area_not_writeable()
359 if ((pid = fork()) == -1) { in memory_not_shared_after_use()
422 if ((pid = fork()) == -1) { in memory_allocation_not_shared()
511 if ((pid = fork()) == -1) { in test_stack_end_of_hole()
533 if ((pid = fork()) == -1) { in test_stack_end_of_hole()
557 if ((pid = fork()) == -1) { in test_stack_end_of_hole()
/titanic_50/usr/src/lib/libc/port/gen/
H A Ddaemon.c51 retv = fork(); in daemon()
63 retv = fork(); in daemon()
/titanic_50/usr/src/man/man2/
H A DMakefile51 fork.2 \
303 fork1.2 := LINKSRC = fork.2
304 forkall.2 := LINKSRC = fork.2
305 forkallx.2 := LINKSRC = fork.2
306 forkx.2 := LINKSRC = fork.2
/titanic_50/usr/src/cmd/ypcmd/ypupdated/
H A Dopenchild.c60 extern long fork();
86 switch (pid = fork()) {
/titanic_50/usr/src/cmd/cmd-inet/lib/netcfgd/
H A Dnetcfgd.c107 if ((pid = fork()) == -1) { in daemonize()
120 if ((pid = fork()) == -1) { in daemonize()
/titanic_50/usr/src/cmd/mailx/
H A Dpopen.c63 extern int execlp(), fork(), pipe(), close(), fcntl();
91 if((pid = fork()) == 0) { in npopen()
/titanic_50/usr/src/lib/libc/
H A DREADME61 fork-safe) and in which the calling thread has all signals deferred
89 region; it is async-signal-safe and fork-safe):
123 calls to fork() and forkall(), but it also serializes calls to
124 thr_suspend() (fork() and forkall() also suspend other threads),
135 - When called from fork() or forkall()
137 This enforces the prohibition against calling fork() or pthread_atfork()
138 from a pthread_atfork()-registered fork handler function while a fork()
142 non-zero only if it is called from a fork handler. This is of interest
221 - The sig_*() interfaces are not in themselves fork-safe.
222 You have to employ other logic to make your code fork-safe.
/titanic_50/usr/src/lib/libshell/common/sh/
H A Ddeparse.c109 p_tree(t->fork.forktre,tflags); in p_tree()
110 p_redirect(t->fork.forkio); in p_tree()
121 else if(t->fork.forkio) in p_tree()
123 p_tree(t->fork.forktre,tflags); in p_tree()
124 if(t->fork.forkio) in p_tree()
125 p_redirect(t->fork.forkio); in p_tree()
H A Dtdump.c82 if(sfputu(outfile,t->fork.forkline)<0) in p_tree()
84 if(p_tree(t->fork.forktre)<0) in p_tree()
86 return(p_redirect(t->fork.forkio)); in p_tree()
/titanic_50/usr/src/lib/efcode/efdaemon/
H A Defdaemon.c105 if ((pid = fork()) < 0) { in main()
146 while ((pid = fork()) < 0) { in main()
/titanic_50/usr/src/lib/libfsmgt/common/
H A Dcmd.c94 if ((child_pid = fork()) == -1) { in cmd_execute_command()
192 if ((child_pid = fork()) == -1) { in cmd_execute_command_and_retrieve_string()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Dmain.c112 if ((pid = fork()) == (pid_t)-1) { in daemonize()
124 if ((pid = fork()) == (pid_t)-1) { in daemonize()
/titanic_50/usr/src/cmd/dtrace/test/tst/common/usdt/
H A Dtst.forker.c40 if (fork() == 0) in main()
/titanic_50/usr/src/lib/libast/common/comp/
H A Dvfork.c48 return(fork());
H A Dsetsid.c75 switch (fork())
/titanic_50/usr/src/cmd/bnu/
H A Din.uucpd.c114 if (fork() == 0)
124 if (fork())
163 if (fork() == 0) {
191 if (fork() == 0) {
/titanic_50/usr/src/cmd/vi/port/
H A Dex_unix.c283 pid = fork();
385 pid2 = fork(); in vi_filter()
450 pid = fork(); in recover()
/titanic_50/usr/src/test/zfs-tests/cmd/rename_dir/
H A Drename_dir.c56 switch (fork()) { in main()
/titanic_50/usr/src/cmd/oamuser/user/
H A Dcall_pass.c48 switch (cpid = fork()) {
/titanic_50/usr/src/lib/libpctx/common/
H A Dlibpctx.c58 pctx_sysc_forkfn_t *fork; member
268 pctx->fork = (pctx_sysc_forkfn_t *) in pctx_set_events()
305 if (pctx->fork == NULL) in pctx_set_events()
306 pctx->fork = (pctx_sysc_forkfn_t *)default_void; in pctx_set_events()
318 if (pctx->fork != (pctx_sysc_forkfn_t *)default_void) { in pctx_set_events()
768 forkfn = pctx->fork; in pctx_run()
/titanic_50/usr/src/lib/libwrap/
H A Dshell_cmd.c58 switch (child_pid = fork()) {
/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dscript_handler.c129 if ((pid = fork()) == -1) in run_script()
313 if ((pid = fork()) < 0) { in script_start()
/titanic_50/usr/src/cmd/script/
H A Dscript.c111 child = fork(); in main()
117 subchild = child = fork(); in main()
/titanic_50/usr/src/lib/libmail/common/
H A Dsystemvp.c56 if ((pid = fork()) == 0) { in systemvp()

12345678910>>...16