delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/21/03:30:44

Date: Tue, 21 Nov 2000 10:27:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: PAULO_MAXIMILIANO_VASQUEZ_BRICHETTI DOT REPSOL AT email DOT ypf DOT com DOT ar
cc: djgpp AT delorie DOT com
Subject: Re: function fork()
In-Reply-To: <0325699D.00641DA2.00@email.ypf.com.ar>
Message-ID: <Pine.SUN.3.91.1001121102647.7635D-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 20 Nov 2000 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. Could someone tell me if i'm doing something wrong?

The function `fork' always fails in DJGPP.  You need to replace it with a 
call to one of the functions in the spawn* family.

- Raw text -


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