From: Maxximo Newsgroups: comp.os.msdos.djgpp Subject: Re: I have a question, and need some help... Date: Thu, 29 Apr 1999 07:05:35 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 24 Message-ID: <7g90bt$pk3$1@nnrp1.dejanews.com> References: <199904281410 DOT QAA17551 AT acp3bf DOT physik DOT rwth-aachen DOT de> NNTP-Posting-Host: 138.132.53.11 X-Article-Creation-Date: Thu Apr 29 07:05:35 1999 GMT X-Http-User-Agent: Mozilla/3.04Gold (X11; I; OSF1 V4.0 alpha) X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 138.132.53.11 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > In standard C, you must: > > -create a new process (son) with fork() > > -in the son code, call the exec..() function > > -in the parent code, call the wait() function > > This, of course, is not 'standard C' at all. It's a 'Standard Unix' > (POSIX) idiom. The definition of standard C (the ANSI/ISO Standard C > definition) contains not a single one of these functions. > > -- > Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) > Even if all the snow were burnt, ashes would remain. > You are in right! Sorry for my wrong answer but I write C programs in U**x environment and for me POSIX is a standard that guarantee portability of the source code. But it is not THE standard! Personally, I hate system()! Sorry again. Maxximo -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own