Searched refs:fork (Results 1 - 25 of 52) sorted by last modified time

123

/haiku/src/apps/expander/
H A DExpanderThread.cpp238 int pid = fork();
/haiku/src/tests/system/kernel/
H A Dspinlock_contention.cpp216 pid_t child = fork();
218 fprintf(stderr, "Error: fork() failed: %s\n", strerror(errno));
H A Dmmap_cut_tests.cpp81 sprintf(name, "/shm-mmap-cut-fork-test-%d", getpid());
108 // validate that the fork does not crash the kernel
109 int pid = fork();
117 printf("failed to fork the test process!\n");
126 printf("map-cut-fork test failed!\n");
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs_legacy.c1690 void fork() {} function
H A Dlibroot_stubs.c1745 void fork() {} function
/haiku/headers/posix/
H A Dunistd.h406 extern pid_t fork(void);
/haiku/src/tests/kits/net/netservices2/
H A DTestServer.cpp187 pid_t child = ::fork();
/haiku/src/apps/poorman/libhttpd/
H A Dlibhttpd.c3463 r = fork( );
3466 // syslog( LOG_ERR, "fork - %m" );
3508 r = fork( );
3511 // syslog( LOG_ERR, "fork - %m" );
3612 r = fork( );
3615 // syslog( LOG_ERR, "fork - %m" );
/haiku/src/apps/remotedesktop/
H A DRemoteDesktop.cpp150 sshPID = fork();
152 printf("failed to fork ssh process\n");
/haiku/src/system/libroot/
H A Dlibroot_init.c17 #include <fork.h>
/haiku/src/apps/terminal/
H A DShell.cpp445 fShellInfo.SetProcessID(fork());
/haiku/src/bin/network/ftpd/
H A Dpopen.c124 pid = (strcmp(gargv[0], _PATH_LS) == 0) ? fork() : vfork();
126 pid = fork();
H A Dftpd.c502 switch (pid = fork()) {
514 syslog(LOG_WARNING, "fork: %m");
/haiku/src/bin/network/telnetd/
H A Dsys_term.c1061 if ((i = fork()) < 0)
1062 fatalperror(net, "fork");
/haiku/src/servers/net/
H A DServices.cpp429 pid_t child = fork();
/haiku/src/tests/kits/net/service/
H A DTestServer.cpp197 pid_t child = ::fork();
/haiku/src/system/libroot/posix/stdlib/
H A Datfork.c7 #include <fork.h>
/haiku/src/system/libroot/posix/pthread/
H A Dpthread_atfork.c8 #include <fork.h>
/haiku/src/tests/libs/bsd/
H A Dwait4_test.cpp37 pid_t child = fork();
51 pid_t child = fork();
/haiku/src/tests/system/network/
H A Dtcp_server.c92 if (!fork()) { // this is the child process
95 if (!fork()) {
H A Dtcp_connection_test.cpp49 // fork client
50 pid_t child = fork();
52 fprintf(stderr, "fork() failed: %s\n", strerror(errno));
H A Dtcp_client.c59 if (!fork()) {
H A Dipv46_server.cpp114 if (fork() != 0) {
/haiku/src/tests/system/network/ipv6/
H A Dtcp_udp_server.cpp128 if (fork() != 0) {
/haiku/src/tests/servers/debug/
H A Dcrashing_app.cpp28 " -f, --fork - fork() and continue in the child\n"
134 fork(false)
143 bool fork; member in struct:Options
216 } else if (strcmp(arg, "-f") == 0 || strcmp(arg, "--fork") == 0) {
217 sOptions.fork = true;
243 if (sOptions.fork) {
244 pid_t child = fork();
246 fprintf(stderr, "fork() failed: %s\n", strerror(errno));

Completed in 352 milliseconds

123