From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: fork???? Date: Sat, 14 Dec 1996 01:31:51 -0800 Organization: Three pounds of chaos and a pinch of salt Lines: 21 Message-ID: <32B27407.785E@cs.com> References: <32B21822 DOT 4F80 AT novia DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp211.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Dead_and_gone DJ-Gateway: from newsgroup comp.os.msdos.djgpp Dead_and_gone wrote: > > does djgpp have a port of the for function, I would code up a small test > program but I have yet to figure out how to use fork ( I am mostly a dos > programmer! ) It has a prototype of fork(), but it always returns failure, because DOS is not inherently a multitasking OS. Several folks have attempted to create multitasking packages for DJGPP, with varying amounts of success; the best to date may be the port of the Unix BASH shell to DOS. Check it out if you are more interested. As for how to use fork(), well you'll just have to consult your reference works for that. ;) -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | Descent 2: The Infinite Abyss - The greatest Internet game of all | | time just got better! This time, you're going all the way down...| ---------------------------------------------------------------------