---
name: "tickit_string_get"
section: "3"
platform: "linux"
package: "libtickit-dev"
version: "0.4.3-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tickit_string_get"
---

# tickit\_string\_get(3)

obtain the characters from a counted string

## NAME

tickit\_string\_get - obtain the characters from a counted string

## SYNOPSIS

```
#include <tickit.h>

const char *tickit_string_get(const TickitString *s);
```

Link with *-ltickit*.

## DESCRIPTION

**tickit\_string\_get**() returns a pointer to the actual stored character buffer within the counted string instance. This should be considered immutable; the caller must not modify this buffer.

## RETURN VALUE

**tickit\_string\_get**() returns a NUL-terminated string pointer.

## SEE ALSO

[**tickit\_string\_new**(3)](/tickit_string_new/3.md), [**tickit\_string\_len**(3)](/tickit_string_len/3.md), [**tickit\_string**(7)](/tickit_string/7.md), [**tickit**(7)](/tickit/7.md)
