diff options
| author | Mustafa Quraish <[email protected]> | 2022-02-05 02:08:13 -0500 |
|---|---|---|
| committer | Mustafa Quraish <[email protected]> | 2022-02-05 08:56:15 -0500 |
| commit | 20d6e4f5710c3260eaab6a9b836acef64a9f9611 (patch) | |
| tree | ac9e14d174ade66236ac8352446ec4e146f50799 /src/utils.c | |
| parent | Add `OS_IS_MACOS` and `OS_IS_LINUX` constants as builtins (diff) | |
| download | cup-20d6e4f5710c3260eaab6a9b836acef64a9f9611.tar.xz cup-20d6e4f5710c3260eaab6a9b836acef64a9f9611.zip | |
Handle command-line arguments properly on linux
Turns out they're supposed to be accessed on the stack there. For
macOS, because 16 byte-alignment is "required", we don't know the
exact position of the arguments and that they're also passed in
through `rdi` and `rsi`
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions