Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ronsor
on May 4, 2018
|
parent
|
context
|
favorite
| on:
What happens before main() is executed in C and wh...
totally unportable and undefined behavior
dfox
on May 4, 2018
[–]
I have strong feeling that while this obviously works on i386 linux (and probably any unix for that matter) if it works on even amd64 it's just a pure coincidence.
colejohnson66
on May 5, 2018
|
parent
[–]
It shouldn’t work on amd64 because the x64 calling convention puts the arguments in the registers first
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: