www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/20/14:06:33

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: function fork()
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <7usi1tk0u09o7ubmo4dbkjms3cgmq74aud@4ax.com>
References: <0325699D DOT 00641DA2 DOT 00 AT email DOT ypf DOT com DOT ar>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 20
X-Trace: /Kkf2OmuIXHnHvbwe9mR2TiUHYy9d9ISEvqJh/ICxPDj+aqni4BWcjEcfzM1aCsVPxcazNGMj6DU!FqxoWQMayl98IikL5s1X0T7E16GSx6eZcilAaVtZs9wnoD2MULV4DXXpsG8nC6MQA2EFc+7aECzK!OK4=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Mon, 20 Nov 2000 18:57:37 GMT
Distribution: world
Date: Mon, 20 Nov 2000 18:57:37 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Mon, 20 Nov 2000 15:14:36 -0300,
PAULO_MAXIMILIANO_VASQUEZ_BRICHETTI DOT REPSOL AT email DOT ypf DOT com DOT ar wrote:

>I've some problem with function fork. In the code below the
>fork call always give -1.

This is to be expected in a single-tasking operating system such as
DOS, where fork() does not work().

>Could someone tell me if i'm doing something wrong?

Yes, you are.  You are trying to use UNIX-style multitasking in DOS.

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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