Modload return a pointer to a module structure #include <module.h> mod_exec *modlink char *modname int type int language mod_exec *modload char *modname int type int language Assembler Equivalent os9 F$LINK os9 F$LOAD Description Each of these calls return a pointer to an OS-9 memory module. Modlink will search the module directory for a module with the same name as "modname" and, if found, increment its link count. Modload will open the file which has the path list specified by "filename" and loads modules from the file adding them to the module directory. The returned value is a pointer to the first module loaded. Above, each is shown as returning a pointer to an executable module, but it will return a pointer to whatever type of module is found. Diagnostics -1 is returned on error. See Also munlink()