EasyManua.ls Logo

VeriFone MX800 Series - Getenvfile

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
getEnvFile
M
X
800 SERIES PROGRAMMERS GUIDE 19
getEnvFile
Prototype
int result = getEnvFile(char *section, char *label, char *value, int
vlen);
Parameters
Return Values
section Points to a null terminated string containing the .ini file section
name. Maximum length of the section name is 32 bytes.
Note: If section is a pointer to null, the system will
automatically read from with perm or reg. perm will be
selected if the first character of label is an “*” otherwise
section reg is used.
label Points to a null terminated string containing the label (reference
name) of the entry. Maximum length of the label is 32 bytes and
will automatically be converted to lowercase before searching for
its value.
value Points to an area where the value of the environment variable will
be copied. Maximum length is 512 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.
Greater than 0 Length of value
0 Entry not found
Less than 0 An error occured:
-ENOBUFS Internal message error

Table of Contents

Other manuals for VeriFone MX800 Series

Related product manuals