On 5/9/06, Matthew Winn <[EMAIL PROTECTED]> wrote:
On Tue, May 09, 2006 at 02:02:24PM +0200, Nikolai Weibull wrote: > Well, there's always the following algorithm to consider: > > if (bram_is_unreasonable) { > int new_child = fork(); > if (new_child) { > // Let Bram continue in his thought-process > return; > } > > // Ah, this is now our little baby > : > : > }And if fork() returns -1?
It's obvious, isn't it? n.o.w. P.S. If not, then consider the boolean value -1 has in C. D.S.
