XPS Unified Programmer’s Manual
7.2 XPS Functions Lists
7.2.1 Standard Functions
7.2.1.1 CleanCoreDumpFolder
Name
CleanCoreDumpFolder – Cleans the folder “/Admin/Public/CoreDump” to delete all
debug core dump (*.core) files.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if “/Admin/Public/CoreDump” exists: (-22)
- Checks error code returned by shell system command: (-100)
Description
This function cleans the “/Admin/Public/CoreDump” folder to delete all core files and
to free memory.
Prototype
int CleanCoreDumpFolder(
int SocketID
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -22: Not allowed action.
• -100: Internal error.
43 EDH0373En1023 — 01/18