### Method

# Gio File resolve_relative_path

#### Declaration [src]

    GFile*
    g_file_resolve_relative_path (
      GFile* file,
      const char* relative_path
    )

#### Description [src]

Resolves a relative path for `file` to an absolute path.

This call does no blocking I/O.

If the `relative_path` is an absolute path name, the resolution is done absolutely (without taking `file` path as base).

#### Parameters

`relative_path`

  Type: `const char*`

  A given relative path string.

  The data is owned by the caller of the method.
  The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.

#### Return value

Type: `GFile`

A `GFile` for the resolved path.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.