aboutsummaryrefslogtreecommitdiff
path: root/tests/programs/rawpid.zc
blob: b3e7c2a7f9a2616e4542538915de32ee4c68a83f (plain) (blame)
1
2
3
4
5
6
include "src/lib/std.zc";
// syscall 39 is getpid on x86-64 only; the arm64 number differs, so test.sh runs this there alone.
fn main() {
	put_n(Host.raw(39, 0, 0, 0, 0, 0, 0) > 0); put_c(10);
	return 0;
}