struct rlimit *rlimits;
const struct rlimit *rlimits;
setrlimit (resource, rlimits)     enum __rlimit_resource resource;     struct rlimit *rlimits;{  struct rlimit lim;  if (rlimits == NULL || (unsigned int) resource >= RLIMIT_NLIMITS)    {      errno = EINVAL;      return -1;    }  lim = *rlimits;  if (lim.rlim_max != RLIM_INFINITY)    {      /* We have no enforceable resource limits.  */      errno = ENOSYS;      return -1;    }  if (lim.rlim_cur > lim.rlim_max)    lim.rlim_cur = lim.rlim_max;  __mutex_lock (&_hurd_rlimit_lock);  _hurd_rlimits[resource] = lim;  __mutex_unlock (&_hurd_rlimit_lock);  return 0;}