example.kernel.txt 150 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
r = getgrouprank -1;
s = getgroupsize -1;
f = 13;

b = 4194304;

open f;

writeat f, b, (r*b);

sync f;

readat f, b, ((s-r-1)*b);

close f;

exit 0;