---
name: "slv2_util"
section: "3"
platform: "linux"
package: "slv2-doc"
version: "0.6.6+dfsg1-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/slv2_util"
---

# slv2\_util(3)

Convert a full URI to a local path PP.

## NAME

Utility\_functions - Convert a full URI to a local path

PP.

### Functions

const char \* **slv2\_uri\_to\_path** (const char \*uri)\

## Function Documentation

### const char\* slv2\_uri\_to\_path (const char \* uri)

Convert a full URI (eg file://foo/bar/baz.ttl) to a local path (e.g.

/foo/bar/baz.ttl).

Return value is shared and must not be deleted by caller.

**Returns:**

*uri* converted to a path, or NULL on failure (URI is not local).

## Author

Generated automatically by Doxygen for SLV2 from the source code.
