Hi! On Sat, Dec 04, 2010 at 11:04:00PM +0100, Oliver Schmidt wrote: > I presume you're talking about closing and re-opening the three > standard descriptors. I don't understand your statement well. As long > as the program uses the three standard descriptors "as-is" the > environment can redirect the I/O. Not on the Commodores, at least not easily. As said before: This would be possible of stdin/stdout/stderr are treated in a special way inside the runtime library. That's necessary to make redirection via the kernal work. But with this special treatment, redirection inside the C library becomes much more difficult. So yes, it is possible but probably not worth the trouble. That may be different for the apple. 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 Mon Dec 6 15:56:13 2010
This archive was generated by hypermail 2.1.8 : 2010-12-06 15:56:16 CET