Lines Matching defs:path
54 static char *path = NULL;
58 free(path);
59 path = NULL;
67 /* If the / character was found this is likely a linux path or
68 * an invocation path for a 64-bit wine program.
74 if (!path) {
75 path = realpath("/proc/self/exe", NULL);
79 if (path && strncmp(path, program_invocation_name, strlen(path)) == 0) {
80 /* This shouldn't be null because path is a a prefix,
81 * but check it anyway since path is static. */
82 char * name = strrchr(path, '/');
90 /* If there was no '/' at all we likely have a windows like path from
110 /* Solaris has getexecname() which returns the full path - return just