EasyManua.ls Logo

VeriFone MX800 Series - Getsysctl()

VeriFone MX800 Series
344 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FILE SYSTEMS
getSysctl()
24 M
X
800 SERIES PROGRAMMERS GUIDE
getSysctl()
Reads the value of the kernel parameters in the /proc/sys directory using the
sysctl utility.
Prototype
int result = getSysctl(char *var, char *value, int vlen);
Parameters
Return Values
var Points to a null terminated string containing the kernel parameter to
reference. Maximum length of the label is 128 bytes and will
automatically be converted to lower case before searching for its value.
value Points to an area where the value of the kernel parameter will be copied.
Maximum length is 128 bytes. Value will be null terminated.
vlen Maximum length of the value field. If the length of value is larger than
vlen-1 then only vlen-1 bytes will be copied to value.
> 0 Len of value
= 0 Entry not found.
< 0 An error has occurred:
EINVAL = Invalid parameter
ENOENT = Invalid kernel parameter
ENOBUFS = Internal message error

Table of Contents

Other manuals for VeriFone MX800 Series

Related product manuals