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

From: Francesc Oller (francesc@mat.upc.es)
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

Regards

Francesc Oller
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



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