Programming Guide |
Opens a system library
int sm_l_open_syslib(char *lib_name
);
lib_name
- The name of the library to open. Panther searches for
lib_name
in the current directory, then along the path given to sm_initcrt, and finally along the path defined by SMPATH.
- 1 The library file's identifier.
- -1 The library cannot be opened or read.
Use
sm_l_open_syslib
to open a library as a system library. The library name will not be displayed in the Library Table of Contents window. Otherwise, this function performs the same steps as sm_l_open which opens a library in these steps: