Putsysctl() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

putSysctl()

Dynamically modifies the value of the kernel parameters in the /proc/sys
directories using the sysctl utility. The changes are valid until the terminal reboots.
Currently, users are limited to change only the /proc/sys/net/ipv4 kernel
parameters.
Prototype
int result = putSysctl(char *var, char *value, int vlen);
Parameters
var
Points to a null terminated string containing the kernel parameter and
value setting, in the format "variable=value". Maximum length of the label
is 128 bytes.
Return Values
= 0
Success
< 0
An error has occurred:
EINVAL = Invalid parameter
ENOENT = Invalid kernel parameter
ENOBUFS = Internal message error
X
M
800 S
P
ERIES
ROGRAMMERS
F
S
ILE
YSTEMS
putSysctl()
25
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents