aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2020-11-27 23:02:22 +0700
committerKoakuma <koachan@protonmail.com>2020-11-27 23:02:22 +0700
commit41c40f4bbec35ac260b6a7af6b0db0dafccb56ca (patch)
tree4ae6c1d7792ff784beea71c863bd176a1fe93144 /lib/std/debug.zig
parentcf2ee4ae2c6608261e849f0d75209669d435624c (diff)
downloadzig-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