Programming Guide |
Executes JPL's unload command
int sm_jplunload(char *module_list);
module_list
- Specifies the JPL modules to unload, where
module_list
is a string that contains one or more module names delimited by spaces.
- 0 Success.
sm_jplunload
is the C interface to the JPLunload
command. 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_jplunload
is equivalent to using the JPL unload command. For more information, refer to theunload
command.
void
unload_modules()
{
if (sm_jplunload("select.jpl insert.jpl delete.jpl"))
sm_ferr_reset(0,
"Unable to unload modules from memory");
}