30Yap_FindExecutable(
void)
37Yap_LoadForeignFile(
char *file,
int flags)
44Yap_CallForeignFile(
void *handle,
char *f)
50Yap_CloseForeignFile(
void *handle)
62 char *proc_name, YapInitProc *init_proc)
65 extern char *sys_errlist[ ];
68 if (ofiles->next != NULL || libs != NULL) {
69 strcpy(LOCAL_ErrorSay,
" Load Failed: in AIX you must load a single object file");
72 if (!Yap_AbsoluteFileInBuffer(AtomName(ofiles->name), LOCAL_FileNameBuf, MAX_PATH,
true)) {
73 strcpy(LOCAL_ErrorSay,
" Trying to open unexisting file in LoadForeign ");
77 if ((*init_proc=((YapInitProc *)load(LOCAL_FileNameBuf,0,NULL))) == NULL) {
78 strcpy(LOCAL_ErrorSay,sys_errlist[errno]);
81 return LOAD_SUCCEEDED;
86 char *proc_name, YapInitProc *init_proc)
88 return LoadForeign(ofiles, libs, proc_name, init_proc);
92Yap_ShutdownLoadForeign(
void)
98 char *proc_name, YapInitProc *init_proc)
100 return(LoadForeign(ofiles,libs, proc_name, init_proc));
load_foreign_files/3 has works for the following configurations: