&(p1)
public
Logical AND of the bits in stat with num.
fork { exit 0x37 }
Process.wait
sprintf('%04x', $?.to_i)
sprintf('%04x', $? & 0x1e00)
Show source
static VALUE
pst_bitand(VALUE st1, VALUE st2)
{
int status = PST2INT(st1) & NUM2INT(st2);
return INT2NUM(status);
}