Timeline for Is there any difference between return n and exit(n) in C?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 29, 2012 at 7:24 | comment | added | user29079 | And it really doesn't make any sense to call exit() from a freestanding environment. The embedded equivalent of exit() would be to hang the program in an eternal loop, then wait for the watchdog to time out. | |
| Oct 28, 2012 at 11:43 | history | edited | theD | CC BY-SA 3.0 | Answer expanded |
| Oct 28, 2012 at 11:32 | history | answered | theD | CC BY-SA 3.0 |