About 57 results
Open links in new tab
  1. c - What is the purpose of fork ()? - Stack Overflow

    Jun 12, 2009 · In many programs and man pages of Linux, I have seen code using fork(). Why do we need to use fork() and what is its purpose?

  2. c - How does fork () work? - Stack Overflow

    Dec 19, 2015 · Fork handlers may be established by means of the pthread_atfork() function in order to maintain application invariants across fork() calls. When the application calls fork() …

  3. c - What exactly does fork return? - Stack Overflow

    Nov 2, 2016 · Fork creates a duplicate process and a new process context. When it returns a 0 value it means that a child process is running, but when it returns another value that means a …

  4. What is the meaning of fork()&&fork()||fork() in c - Stack Overflow

    Jan 27, 2018 · What do the fork function return in the parent process? What does it return in the child process? And how do short-circuit evaluation work? When you can answer that you know …

  5. What does it mean to fork on GitHub? - Stack Overflow

    A fork is a copy of a project folder (repository) into your github account or onto your desktop if you use Github on your Desktop. This allows you to freely experiment with changes without …

  6. c - Differences between fork and exec - Stack Overflow

    Oct 31, 2009 · 8 The main difference between fork() and exec() is that, The fork() system call creates a clone of the currently running program. The original program continues execution …

  7. What is the difference between fork () and vfork ()?

    Nov 23, 2010 · This topic gives a good description of fork, vfork, clone and exec. Below are some often overlooked differences between fork and vfork I experienced on some Linux 2.6.3x …

  8. linux - Fork () function in C - Stack Overflow

    Fork is a system call and you shouldnt think of it as a normal C function. When a fork () occurs you effectively create two new processes with their own address space.Variable that are …

  9. linux - Why fork () works the way it does - Stack Overflow

    Nov 28, 2011 · Almost all description of what fork does, say it just copies the process and the new process starts running after the fork() call. This is indeed what happens but why does it …

  10. Como funciona la función fork () - Stack Overflow en español

    A ya, creo que la pregunta entonces sería ¿Como funciona la función fork () para crear procesos? La respuesta conllevaría varios puntos así que empezaré a elaborarla. Por lo mientras edita el …