Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

C's system() & COMMAND.COM (Developers)

posted by marcov(R), 13.09.2014, 14:02

> > "In the UNIX system, the status return is the value returned by exit"
> >
> > Further it says "the return value is implementation-dependent".
>
> Check out some more modern stuff.
>
> http://pubs.opengroup.org/onlinepubs/009695399/functions/system.html:

That's Unix(POSIX), not C. What are you doing, implementing a C compiler or an Unix-on-Dos emulation (as a cygwin for dos)?

The page says it is aligned with C, but the popup says that paragraph is an extension to C, so it would still be interesting what a newer C standard (C99) says about it. I may have that at work, which I can't access now.

That was the whole point of my post, to make the separation between POSIX and C.

 

Complete thread:

Back to the forum
Board view  Mix view
15112 Postings in 1359 Threads, 247 registered users, 16 users online (0 registered, 16 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum