On Mon, Apr 21, 2008 at 10:18 PM, Michael Kerrisk <mtk.manpages@xxxxxxxxxxxxxx> wrote: > On Mon, Apr 21, 2008 at 10:06 PM, Michael Kerrisk > <mtk.manpages@xxxxxxxxxxxxxx> wrote: > > On Mon, Apr 21, 2008 at 9:20 PM, Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> wrote: > > > > > > in robert love's "linux kernel development" book (p. 31), i read: > > > > > > "The fork(), vfork() and __clone() library calls all invoke the > > > clone() system call with the requisite flags." assuming that, > > > nowadays, it would be __clone2() and not __clone(), where in the > > > source for glibc-2.7 could i see the implementation of those calls? > > > > nptl/sysdeps/unix/sysv/linux/i386/fork.c, for example. > > > > clone2 is IA-64 only (AFAIK). > > And for vfork: nptl/sysdeps/unix/sysv/linux/i386/vfork.S (which means, by the way, that Robert's statement about vfork() isn't true, AFAICS) -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ