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

From: Ullrich von Bassewitz <>
Date: 2011-01-25 09:35:37

On Mon, Jan 24, 2011 at 06:36:09PM +0100, Oliver Schmidt wrote:
> The last statement of the code isn't an RTS but a indirect JMP. The
> location for the JMP is exported so "everybody" can patch it's own
> handler in there. The default handler is just an RTS.

Yes, good idea. So how about

        int exec (const char* program, const char* cmdline);

as prototype? Not sure in which header file it should go. POSIX systems have
the exec() family of functions in unistd.h.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jan 25 09:35:44 2011

This archive was generated by hypermail 2.1.8 : 2011-01-25 09:35:48 CET