Lines Matching defs:path
37 static char *path = NULL;
41 free(path);
42 path = NULL;
50 /* If the / character was found this is likely a linux path or
51 * an invocation path for a 64-bit wine program.
57 if (!path) {
58 path = realpath("/proc/self/exe", NULL);
62 if (path && strncmp(path, program_invocation_name, strlen(path)) == 0) {
63 /* This shouldn't be null because path is a a prefix,
64 * but check it anyway since path is static. */
65 char * name = strrchr(path, '/');
73 /* If there was no '/' at all we likely have a windows like path from
99 /* Solaris has getexecname() which returns the full path - return just