The documentation for the sysctl function says the following:
This is a new value. If it is a new value,
newpshould be set to NULL andnewlenset to 0.
But I can not understand what this means.
The documentation for the sysctl function says the following:
This is a new value. If it is a new value,
newpshould be set to NULL andnewlenset to 0.
But I can not understand what this means.
Literal translation:
To set a new value,
newppoints to a buffer of lengthnewlen, from which the requested value is taken. If the new value is not set, thennewpmust be set toNULL, andnewlento 0.
oldp / oldlenp is used, to write - newp / newlen . - 伪位蔚蠂慰位蠀蟿get or set system information . - 伪位蔚蠂慰位蠀蟿Source: https://ru.stackoverflow.com/questions/524609/
All Articles