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

123

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompat.c126 switch (fork()) {
/haiku/src/bin/debug/time_stats/
H A Dtiming_analysis.cpp60 // fork
61 pid_t child = fork();
63 fprintf(stderr, "Error: fork() failed: %s\n", strerror(errno));
/haiku/src/bin/network/telnet/
H A Dcommands.c145 switch(fork()) {
150 perror("fork");
/haiku/src/libs/bsd/
H A Ddaemon.c37 pid = fork();
H A Dpty.cpp75 int pid = fork();
/haiku/src/libs/stdc++/legacy/
H A Dconfig.h41 /* Define vfork as fork if vfork does not work. */
42 #define vfork fork
H A Dvfork.c1 /* Emulate vfork using just plain fork, for systems without a real vfork.
9 return (fork ());
/haiku/src/servers/launch/
H A DBaseJob.cpp204 pid_t child = fork();
207 debug_printf("could not fork: %s\n", strerror(errno));
/haiku/src/system/libroot/posix/glibc/libio/
H A Diopopen.c113 ((_IO_proc_file *) fp)->pid = child_pid = fork();
/haiku/src/system/libroot/posix/unistd/
H A Dfork.c7 #include <fork.h>
27 #define FORK_LOCK_NAME "fork lock"
102 * before and after the team is fork()ed.
137 fork(void) function
162 // TODO: The lock is already initialized and we in the fork()ing
192 return fork();
/haiku/src/tests/add-ons/kernel/drivers/tty/
H A Dposix_openpt_test.cpp62 pid = fork();
64 die("fork error: %s\n", strerror(errno));
/haiku/src/tests/libs/bsd/
H A Dwait4_test.cpp37 pid_t child = fork();
51 pid_t child = fork();
/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));
/haiku/src/tests/system/benchmarks/
H A Dctxbench.c140 switch (childpid = fork()) {
H A Dforkbench.c14 * Benchmark program to calculate fork+wait
55 child = fork();
57 perror("fork");
/haiku/src/tests/system/kernel/
H A Dcow_bug113_test.cpp26 printf("[%ld] parent: before fork(): globalVar(%p): \"%s\"\n", parent,
29 pid_t child = fork();
H A Dfibo_exec.cpp54 pid_t childA = fork();
66 fprintf(stderr, "fork() failed for child A: %s\n", strerror(errno));
70 pid_t childB = fork();
82 fprintf(stderr, "fork() failed for child B: %s\n", strerror(errno));
H A Dfibo_fork.cpp43 pid_t childA = fork();
54 fprintf(stderr, "fork() failed for child A: %s\n", strerror(errno));
58 pid_t childB = fork();
69 fprintf(stderr, "fork() failed for child B: %s\n", strerror(errno));
H A Dpage_fault_cache_merge_test.cpp31 // fork
32 pid_t child = fork();
34 perror("fork() failed");
H A Dset_area_protection_test1.cpp73 // fork()
74 pid_t pid = fork();
76 fprintf(stderr, "Error: Failed to fork(): %s\n", strerror(errno));
H A Dwait_test_2.cpp35 pid_t child = fork();
49 pid_t child = fork();
H A Dwait_test_3.cpp35 pid_t child = fork();
48 pid_t child = fork();
H A Dwait_test_4.cpp32 pid_t child = fork();
49 pid_t child = fork();
/haiku/src/tests/system/libroot/posix/
H A Dinit_rld_after_fork_test.cpp25 pid_t child = fork();
27 fprintf(stderr, "Error: fork() failed: %s\n", strerror(errno));
H A Drealtime_sem_test1.cpp179 TEST_SET("sem_{open,close}() with fork()");
189 pid_t child = fork();
203 child = fork();
225 TEST_SET("sem_{init,destroy}() with fork()");
236 pid_t child = fork();
541 TEST_SET("sem_{post,wait,trywait,timedwait}() named semaphore with fork()");
559 pid_t child = fork();
582 child = fork();
606 child = fork();
631 child = fork();
[all...]

Completed in 108 milliseconds

123