---
name: "rdfGetDescriptionId"
section: "3"
platform: "linux"
package: "libgnurdf-dev"
version: "0.3.0-3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/rdfGetDescriptionId"
---

# rdfGetDescriptionId(3)

Returns a description's ID.

## NAME

rdfGetDescriptionId - Returns a description's ID.

## SYNOPSIS

**#include \<gnurdf.h\>**

**char \*rdfGetDescriptionId(RdfDescription \*desc);**

## PARAMETERS

- **desc**

  The description containing the ID.

## DESCRIPTION

Returns the specified description's ID.

## RETURNS

The ID of the description. This must be freed when no longer in use.

If the description does not have an ID, this will return NULL.

## SEE ALSO

[rdfAddDescription(3)](/rdfAddDescription/3.md), [rdfGetDescriptionAbout(3)](/rdfGetDescriptionAbout/3.md), [rdfGetDescriptionFromAbout(3)](/rdfGetDescriptionFromAbout/3.md), [rdfGetDescriptionFromId(3)](/rdfGetDescriptionFromId/3.md), [rdfSetDescriptionAbout(3)](/rdfSetDescriptionAbout/3.md), [rdfSetDescriptionId(3)](/rdfSetDescriptionId/3.md)
