![]() | Programming Guide | ![]() |
Executes JPL's unload command
int sm_jplunload(char *module_list);
module_list- Specifies the JPL modules to unload, where
module_listis a string that contains one or more module names delimited by spaces.
- 0 Success.
sm_jplunloadis the C interface to the JPLunloadcommand. Use this command to remove one or more modules from memory. Modules are read into memory with sm_jplpublic or, in a JPL module, with the public command.Calling
sm_jplunloadis equivalent to using the JPL unload command. For more information, refer to theunloadcommand.
void
unload_modules()
{
if (sm_jplunload("select.jpl insert.jpl delete.jpl"))
sm_ferr_reset(0,
"Unable to unload modules from memory");
}