Function ctru_sys::svcSetResourceLimitValues
source · pub unsafe extern "C" fn svcSetResourceLimitValues(
resourceLimit: Handle,
names: *const ResourceLimitType,
values: *const s64,
nameCount: s32
) -> Result
Expand description
Sets the value limits of a resource limit set.
§Arguments
resourceLimit
- Resource limit set to use.names
- Resource limit names to set the limits of.values
- Value limits to set. The high 32 bits of RESLIMIT_COMMIT are used to set APPMEMALLOC in configuration memory, otherwise those bits are unused.nameCount
- Number of resource limit names.