Searched refs:fork (Results 1 - 25 of 456) sorted by path

1234567891011>>

/freebsd-11-stable/bin/csh/
H A Dconfig_p.h29 * define this anyway and then do #define vfork fork.
32 * and on the iris4d cause SGI's fork is sufficiently "virtual"
38 #define vfork fork
/freebsd-11-stable/bin/pax/
H A Dar_io.c1259 zpid = fork();
1261 err(1, "could not fork");
/freebsd-11-stable/cddl/compat/opensolaris/include/
H A Dunistd.h35 #define fork1 fork
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/
H A Dbadioctl.c121 if ((child = fork()) == 0)
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.fork.c59 (void) fork();
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/usdt/
H A Dtst.fork.ksh62 if (fork() == 0) {
H A Dtst.forker.c44 if (fork() == 0)
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1463 child = fork();
1465 fail(1, "cannot fork");
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/pid/
H A DMakefile26 tst.fork.d \
62 tst.fork.c \
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/usdt/
H A DMakefile31 tst.fork.ksh \
32 tst.fork.ksh.out \
/freebsd-11-stable/contrib/amd/amd/
H A Dautil.c772 pid = fork();
774 if (pid < 0) { /* fork error, retry in 1 second */
/freebsd-11-stable/contrib/amd/hlfsd/
H A Dhlfsd.c596 if (fork() == 0) { /* child runs mount */
604 } else { /* fork failed or parent running */
626 * If asked not to fork a daemon (-D nodaemon), then hlfsd_init()
654 * If -D daemon then we must fork.
657 child = fork();
660 fatal("fork: %m");
800 if ((child = fork()) > 0) {
822 plog(XLOG_ERROR, "unable to fork: %m");
841 if (fork() != 0) {
H A Dhomedir.c132 * Only run this forking code if ask for -D fork (default).
136 /* fork child to process request if none in progress */
146 if ((found->child = fork()) < 0) {
161 * CHILD: (or parent if -D fork)
166 * We don't need to set the _last_status field of found after the fork
/freebsd-11-stable/contrib/apr/threadproc/unix/
H A Dprocsup.c31 if ((x = fork()) > 0) {
35 perror("fork");
36 fprintf(stderr, "unable to fork new process\n");
44 /* A setsid() failure is not fatal if we didn't just fork().
/freebsd-11-stable/contrib/atf/atf-c++/detail/
H A Dprocess.hpp112 child fork(void (*)(void*), const OutStream&, const ErrStream&, void*);
124 child fork(void (*)(void*), const OutStream&, const ErrStream&, void*);
136 child fork(void (*)(void*), const OutStream&, const ErrStream&, void*);
148 child fork(void (*)(void*), const OutStream&, const ErrStream&, void*);
160 child fork(void (*)(void*), const OutStream&, const ErrStream&, void*);
203 child fork(void (*)(void*), const OutStream&, const ErrStream&, void*);
229 fork(void (*start)(void*), const OutStream& outsb, function in namespace:atf::process
H A Dtest_helpers.hpp100 atf::process::child c = atf::process::fork(
/freebsd-11-stable/contrib/atf/atf-c++/
H A Dutils.cpp66 atf::utils::fork(void) function in class:atf::utils
H A Dutils.hpp43 pid_t fork(void);
H A Dutils_test.cpp220 ATF_TEST_CASE_WITHOUT_HEAD(fork); variable
221 ATF_TEST_CASE_BODY(fork)
225 pid_t pid = atf::utils::fork();
332 const pid_t pid = atf::utils::fork();
345 const pid_t control = fork();
360 const pid_t parent = atf::utils::fork();
363 const pid_t child = atf::utils::fork();
389 const pid_t control = fork();
404 const pid_t control = fork();
419 const pid_t control = fork();
[all...]
/freebsd-11-stable/contrib/atf/atf-c/detail/
H A Dprocess.c471 pid = fork();
473 err = atf_libc_error(errno, "Failed to fork");
H A Dprocess_test.c59 * issues stream-specific hooks before fork, while the child is running and
582 pid = fork();
/freebsd-11-stable/contrib/atf/atf-c/
H A Dutils.c44 /** Allocate a filename to be used by atf_utils_{fork,wait}.
254 const pid_t pid = fork();
256 atf_tc_fail("fork failed");
H A Dutils_test.c229 ATF_TC_WITHOUT_HEAD(fork); variable
230 ATF_TC_BODY(fork, tc)
405 const pid_t control = fork();
449 const pid_t control = fork();
464 const pid_t control = fork();
479 const pid_t control = fork();
494 const pid_t control = fork();
511 const pid_t control = fork();
546 ATF_TP_ADD_TC(tp, fork);
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dconfigure6207 # vfork and fork are stubs.
6732 for ac_func in fork vfork
6833 echo "$as_me:$LINENO: checking for working fork" >&5
6834 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
6847 /* Some systems only have a dummy stub for fork() */
6850 if (fork() < 0)
6887 # Override, as these systems have only a dummy fork() stub
7051 #define vfork fork
H A Dvfork.c1 /* Emulate vfork using just plain fork, for systems without a real vfork.
8 Emulates @code{vfork} by calling @code{fork} and returning its value.
16 extern int fork (void);
21 return (fork ());

Completed in 219 milliseconds

1234567891011>>