Getenvfile - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

getEnvFile

Prototype
int result = getEnvFile(char *section, char *label, char *value, int
vlen);
Parameters
Points to a null terminated string containing the .ini file section
section
name. Maximum length of the section name is 32 bytes.
Note:
Points to a null terminated string containing the label (reference
label
name) of the entry. Maximum length of the label is 32 bytes and
will automatically be converted to lowercase before searching for
its value.
Points to an area where the value of the environment variable will
value
be copied. Maximum length is 512 bytes.
Value will be null terminated.
Maximum length of the value field. If the length of value is larger
vlen
than vlen-1 then only vlen-1 bytes will be copied to value.
Return Values
Greater than 0
Length of value
0
Entry not found
Less than 0
An error occured:
-ENOBUFS
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.
Internal message error
X
M
F
ILE
800 S
P
G
ERIES
ROGRAMMERS
S
YSTEMS
getEnvFile
19
UIDE

Advertisement

Table of Contents
loading

Table of Contents