www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/14/16:07:45

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: Dead_and_gone <alaric AT novia DOT net>
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...|
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019