Re: [cc65] Calling another program: exec() ?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-01-25 11:32:34
Hi!

On Tue, Jan 25, 2011 at 10:52:31AM +0100, Oliver Schmidt wrote:
> Technically the function could be as well typed 'void' - if it returns
> than it's already clear that there was an error ;-)

Having an error code allows an "explanation" of the failure.

> If you have no issue with a non-standard function in a standard header
> than this would be the place to go...

Actually, we could implement execl() and friends using exec(). It would not be
completely identical to standard execl() but similar enough for a 6502 :-)

> Still I'm somewhat unclear if we have a policy here: I.e. videomode()
> is present in two target header files....

Some functions are initialy implemented on one platform and then spread,
others are designed to be implemented by all (or most) platforms from start
on.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 25 11:32:41 2011

This archive was generated by hypermail 2.1.8 : 2011-01-25 11:32:44 CET