Programming Guide



sm_jplunload

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.

Returns

Description

sm_jplunload is the C interface to the JPL unload 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 the unload command.

Example

void
unload_modules()
{
if (sm_jplunload("select.jpl insert.jpl delete.jpl"))
sm_ferr_reset(0,
"Unable to unload modules from memory");
}

See Also

sm_jplpublic