int path_is_absolute(const char *path)

{

    const char *p;

#ifdef _WIN32

    /* specific case for names like: "\\.\d:" */

    if (*path == '/' || *path == '\\')

        return 1;

#endif

    p = strchr(path, ':');

    if (p)

        p++;

    else

        p = path;

#ifdef _WIN32

    return (*p == '/' || *p == '\\');

#else

    return (*p == '/');

#endif

}

int path_is_absolute(const char *path)

{

    const char *p;

#ifdef _WIN32

    

    if (*path == '/' || *path == '\\')

        return 1;

#endif

    p = strchr(path, ':');

    if (p)

        p++;

    else

        p = path;

#ifdef _WIN32

    return (*p == '/' || *p == '\\');

#else

    return (*p == '/');

#endif

}

    const char *p;     if (*path == '/' || *path == '\\') #endif     p = strchr(path, ':');     if (p)         p++;         p = path; #ifdef _WIN32     return (*p == '/' || *p == '\\');     return (*p == '/');
int FUNC_0(const char *VAR_0)

{

    const char *VAR_1;

#ifdef _WIN32

    

    if (*VAR_0 == '/' || *VAR_0 == '\\')

        return 1;

#endif

    VAR_1 = strchr(VAR_0, ':');

    if (VAR_1)

        VAR_1++;

    else

        VAR_1 = VAR_0;

#ifdef _WIN32

    return (*VAR_1 == '/' || *VAR_1 == '\\');

#else

    return (*VAR_1 == '/');

#endif

}

int FUNC_0(const char *VAR_0)
{ const char *VAR_1; #ifdef _WIN32
if (*VAR_0 == '/' || *VAR_0 == '\\')
return 1; #endif
VAR_1 = strchr(VAR_0, ':'); if (VAR_1)
VAR_1++; else
VAR_1 = VAR_0; #ifdef _WIN32
return (*VAR_1 == '/' || *VAR_1 == '\\'); #else
return (*VAR_1 == '/'); #endif
}