예제 #1
0
        public KernelResult GetResourceLimitCurrentValue32([R(1)] int handle, [R(2)] LimitableResource resource, [R(1)] out int limitValueLow, [R(2)] out int limitValueHigh)
        {
            KernelResult result = _syscall.GetResourceLimitCurrentValue(handle, resource, out long limitValue);

            limitValueHigh = (int)(limitValue >> 32);
            limitValueLow  = (int)(limitValue & uint.MaxValue);

            return(result);
        }
예제 #2
0
 public KernelResult GetResourceLimitCurrentValue64([R(1)] int handle, [R(2)] LimitableResource resource, [R(1)] out long limitValue)
 {
     return(_syscall.GetResourceLimitCurrentValue(handle, resource, out limitValue));
 }