Searched refs:fork (Results 176 - 200 of 456) sorted by relevance

1234567891011>>

/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) {
/freebsd-11-stable/tools/test/popss/
H A Dpopss.c176 child = fork();
178 err(1, "fork");
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_kevent.c106 child = fork();
H A Dt_revoke.c152 pid = fork();
/freebsd-11-stable/contrib/mdocml/
H A Dcatman.c233 pid = fork();
236 err(1, "fork");
/freebsd-11-stable/usr.sbin/autofs/
H A Dpopen.c115 switch (pid = fork()) {
117 log_err(1, "fork");
/freebsd-11-stable/usr.bin/sdiff/
H A Dedit.c59 if ((pid = fork()) == -1)
/freebsd-11-stable/usr.sbin/apmd/
H A Dapmd.c117 switch ((pid = fork())) {
119 warn("cannot fork");
502 if (fork() == 0) {
551 if (soft_power_state_change && fork() == 0) {
572 if (fork() == 0) {
/freebsd-11-stable/usr.sbin/bluetooth/btpand/
H A Dbtpand.c199 * fork() now so that the setup can be done in the child process
203 switch(fork()) {
205 err(EXIT_FAILURE, "fork() failed");
/freebsd-11-stable/usr.bin/lockf/
H A Dlockf.c146 if ((child = fork()) == -1)
147 err(EX_OSERR, "cannot fork");
/freebsd-11-stable/contrib/libpcap/rpcapd/
H A Drpcapd.c426 if ((pid = fork()) != 0)
440 if ((pid = fork()) != 0)
524 if ((pid = fork()) == 0) // I am the child
1059 // fork "inherits" the parent stack.)
1195 pid = fork();
/freebsd-11-stable/contrib/unbound/util/
H A Dlocks.c105 * No threading available: fork a new process.
115 pid_t pid = fork();
125 fatal_exit("could not fork: %s", strerror(errno));
/freebsd-11-stable/usr.sbin/cron/cron/
H A Dpopen.c115 switch(pid = fork()) {
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp165 // shell" command in the fork() child before it has had a chance to exec.)
191 ::pid_t pid = ::fork();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DPseudoTerminal.cpp190 // in the parent process: the pid of the child, or -1 if fork fails
202 pid = ::fork();
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Dfilter_fork_posix.c152 child = fork();
/freebsd-11-stable/contrib/ntp/sntp/libopts/
H A Dmakeshell.c280 * fork(), have our child process emit the text the normal way and
308 switch (fork()) {
310 fserr_exit(opts->pzProgName, "fork", opts->pzProgName);
885 switch (fork()) {
927 switch (fork()) {
/freebsd-11-stable/tools/regression/security/proc_to_proc/
H A Dscenario.c277 pid1 = fork();
309 pid2 = fork();
/freebsd-11-stable/tools/test/ptrace/
H A Dscescx.c361 if ((pid = fork()) < 0) {
362 perror("fork");
372 if ((pid1 = use_vfork ? vfork() : fork()) < 0) {
/freebsd-11-stable/usr.bin/ldd/
H A Dldd.c115 switch (fork()) {
117 err(1, "fork");
238 switch (fork()) {
240 err(1, "fork");
/freebsd-11-stable/usr.sbin/lpr/lpd/
H A Dlpd.c250 pid = fork();
252 err(EX_OSERR, "cannot fork");
393 if (fork() == 0) {
601 if ((pid = fork()) < 0) {
602 syslog(LOG_WARNING, "lpd startup: cannot fork for %s",
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_sysv.c273 switch ((child_pid = fork())) {
275 atf_tc_fail("fork: %d", errno);
514 switch ((child_pid = fork())) {
516 atf_tc_fail("fork: %d", errno);
742 switch ((child_pid = fork())) {
744 atf_tc_fail("fork: %d", errno);
/freebsd-11-stable/sbin/init/
H A Dinit.c890 if ((pid = fork()) == 0) {
970 emergency("can't fork single-user shell, trying again");
1095 * - single_user if fork/execv/waitpid failed, or if the script
1109 if ((pid = fork()) == 0) {
1125 emergency("can't fork for %s on %s: %m", shell, script);
1427 if ((pid = fork()) == -1) {
1428 emergency("can't fork for window system on port %s: %m",
1439 if ((pid = fork()) == -1) {
1440 emergency("can't fork for window system on port %s: %m",
1457 /* Don't use malloc after fork */
[all...]
/freebsd-11-stable/contrib/dialog/
H A Dui_getc.c612 if ((pid = fork()) != 0) {
615 if ((pid = fork()) != 0) {
/freebsd-11-stable/sys/sys/
H A Dsyscall.mk7 fork.o \

Completed in 310 milliseconds

1234567891011>>