Programming Guide



sm_l_close

Closes a library and frees all memory associated with it

int sm_l_close(int lib_desc);

lib_desc
The library to close, where lib_desc is an integer library descriptor returned by sm_l_open.

Returns

Example

/* Bring up a window from a library. */

int ld;

if ((ld = sm_l_open ("myforms")) < 0)
sm_cancel();
...
sm_l_at_cur(ld, "popup");
...
sm_l_close(ld);

See Also

sm_l_at_cur, sm_l_form, sm_l_open, sm_l_window