From: Damian Yerrick 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. --