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

2001-04-26 Thread Francesc Oller
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

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

2001-04-25 Thread H. Peter Anvin
Followup to: <9c77p7$upd$[EMAIL PROTECTED]> By author:"H. Peter Anvin" <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > 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

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

2001-04-25 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Francesc Oller <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Hi all, > > Some days before I asked for a fork-like C-wrapper for clone() which > could be used like fork() thinking that somebody could have done it > before but I only received

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

2001-04-25 Thread Francesc Oller
Hi all, Some days before I asked for a fork-like C-wrapper for clone() which could be used like fork() thinking that somebody could have done it before but I only received two e-mails saying that probably it wasn't worth it or even it was complete non-sense. Therefore, I've done it myself. Code