Groups | Search | Server Info | Login | Register
Groups > comp.sys.apple2.programmer > #6277
| From | Bill Chatfield <bill_chatfield@yahoo.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: Ctrl-C Interrupt? |
| Date | 2023-12-12 23:55 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <20231212235506.6847234a@smilodon-gracilis> (permalink) |
| References | (1 earlier) <8ROdnZS9bYMI4Ov4nZ2dnZfqnPednZ2d@earthlink.com> <20231211100943.0c7dcc0e@smilodon-gracilis> <ul7mrh$2l8d7$1@solani.org> <20231211153907.71933ea0@smilodon-gracilis> <ulag8n$2mkpn$1@solani.org> |
On Tue, 12 Dec 2023 20:36:39 -0000 (UTC) Oliver Schmidt <ol.sc@web.de> wrote: > You don't need to do so for closing files. All still open files are > closed by the C library exit code. I am always amazed about how well cc65 implements the standard. I was thinking in terms of BASIC which does not do that and gets completely screwed up if you don't close files. > That code is by the way also executed on Ctrl-Reset during the > runtime of a cc65 C program. So the behavior on Ctrl-Reset isn't as > undefined/fatal as you might think. That is very impressive. I never would have guessed that. > I even had once the case where I totally ran out of memory so I > couldn't add some quit code. Instead I simply documented Ctrl-Reset > as the official way to quit the program ;-) :D
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-10 19:47 -0500
Re: Ctrl-C Interrupt? fadden <fadden@fadden.com> - 2023-12-10 17:54 -0800
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 10:07 -0500
Re: Ctrl-C Interrupt? Hugh Hood <hughhood@earthlink.net> - 2023-12-10 21:10 -0600
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 10:09 -0500
Re: Ctrl-C Interrupt? Oliver Schmidt <ol.sc@web.de> - 2023-12-11 19:10 +0000
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 15:39 -0500
Re: Ctrl-C Interrupt? Oliver Schmidt <ol.sc@web.de> - 2023-12-12 20:36 +0000
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-12 23:55 -0500
Re: Ctrl-C Interrupt? I am Rob <gids.rs@sasktel.net> - 2023-12-10 20:30 -0800
Re: Ctrl-C Interrupt? Bill Chatfield <bill_chatfield@yahoo.com> - 2023-12-11 10:11 -0500
csiph-web