Lines Matching refs:alt_path
249 char alt_path[PATH_MAX+1];
251 strcpy(alt_path, alt_root);
252 strcat(alt_path, name);
253 fd = open(alt_path, O_RDONLY);
256 printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
262 strcpy(alt_path, alt_root);
263 strcat(alt_path, strrchr(name, '/'));
264 fd = open(alt_path, O_RDONLY);
267 printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
296 char alt_path[PATH_MAX+1];
297 strcpy(alt_path, alt_root);
298 strcat(alt_path, name);
299 handle = dlopen(alt_path, mode);
301 printf("libsaproc DEBUG: pathmap_dlopen substituted %s\n", alt_path);
305 strcpy(alt_path, alt_root);
306 strcat(alt_path, strrchr(name, '/'));
307 handle = dlopen(alt_path, mode);
309 printf("libsaproc DEBUG: pathmap_dlopen substituted %s\n", alt_path);