diff options
| author | Koakuma <koachan@protonmail.com> | 2020-11-27 23:02:22 +0700 |
|---|---|---|
| committer | Koakuma <koachan@protonmail.com> | 2020-11-27 23:02:22 +0700 |
| commit | 41c40f4bbec35ac260b6a7af6b0db0dafccb56ca (patch) | |
| tree | 4ae6c1d7792ff784beea71c863bd176a1fe93144 /lib/std/debug.zig | |
| parent | cf2ee4ae2c6608261e849f0d75209669d435624c (diff) | |
| download | zig-41c40f4bbec35ac260b6a7af6b0db0dafccb56ca.tar.gz zig-41c40f4bbec35ac260b6a7af6b0db0dafccb56ca.zip | |
Fix fork() on Linux/sparc64
fork() on Linux/sparc64 seems to return its result in two registers,
with %o0 always holding the current process' PID, and the parent/child
status returned in %o1. Add some glue code to convert those into
the libc-style return value.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
