aboutsummaryrefslogtreecommitdiff
path: root/tests/programs/rawpid.zc
blob: e9fec7d982fe80617824b850bab04092b4f30a08 (plain) (blame)
1
2
3
4
5
6
7
8
9
namespace;
include rt, std;

include std;
// syscall 39 is getpid on x86-64 only; the arm64 number differs, so test.sh runs this there alone.
fn main() {
	rt.put_n(std.Host.raw(39, 0, 0, 0, 0, 0, 0) > 0); rt.put_c(10);
	return 0;
}