Re: a fork-like C-wrapper for clone(), DONE!

From: Francesc Oller (
Date: Thu Apr 26 2001 - 07:41:04 EST

H.P.Anvin wrote:
> >
> > glibc already contains such a wrapper; it is called __clone(). At
> > least my system has "man clone" show the man page for it.
> >
> Actually, the man page is wrong, it's called clone() unless you define
> a function with that name yourself (weak symbol.) My version of the
> man pages are a bit old.
> -hpa

Unlike mine, neither glibc nor Linus clone.c wrappers are fork-like.
That's why I reworked Linus clone example in the first place


Francesc Oller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:15 EST