EasyManuals Logo

VeriFone MX800 Series User Manual

VeriFone MX800 Series
344 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #172 background imageLoading...
Page #172 background image
SERVICE FUNCTIONS
svcExpand()
172 M
X
800 SERIES PROGRAMMERS GUIDE
svcExpand()
Prototype
int svcExpand(char *inFile, int keepinFile, char *uowner)
Parameters
The svcExpand() function first checks if the inFile parameter contains a valid
TAR formatted file as described above under inFile description. If it does, then
all files are extracted in the users home directory for the user specified in the
uowner parameter. After all files are extracted, all non-root owned files and
directories within the user’s home directory are set to the user’s ownership.
Permissions are set for each file to what they were at the time the file was
archived.
inFile Pointer to a string containing the name of the file to expand. This file
should be in a tar format with or without either GNU zipped or binary
zipped compression. The file should be named appropriately with the
correct extension following customary Linux naming conventions
regarding tar files. Either .TAR for a regular tar archive or .TGZ or
.GZ for a GNU zipped format. For a binary zipped format, it should
have the extension .BZ2. These are the only formats supported at
this time. The file extension is not case sensitive.
keepinFile A flag to indicate whether to keep the tar file after expansion takes
place. Default is to delete the tar file.
uowner Pointer to a string containing the name of the user that the expansion
is taking place for. If an application calls this function, then it should
be set to the user name of the user that the application is running
under. If this file is called from System Mode via a download, then
currently, the user will be set to the primary user: usr1.

Table of Contents

Other manuals for VeriFone MX800 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VeriFone MX800 Series and is the answer not in the manual?

VeriFone MX800 Series Specifications

General IconGeneral
BrandVeriFone
ModelMX800 Series
CategoryTouch terminals
LanguageEnglish

Related product manuals