Re:Main is usually a function, so when is it not? (2015)
by kaushiks on Sunday September 10, 2017 @04:12PM
(#15214093)
This has nothing to do with memory. The x86_64 ABI returns values from functions in the RAX register.
[ Parent
| on HN ]
Re:Main is usually a function, so when is it not? (2015)
by albinofrenchy on Sunday September 10, 2017 @04:45PM
(#15214243)
Sure; same point applies though -- just because 0 happens to be in RAX doesn't mean it's defined behavior.