---
name: "function::kernel_char"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::kernel_char"
---

# function::kernel\_char(3stap)

Retrieves a char value stored in kernel memory

## NAME

function::kernel\_char - Retrieves a char value stored in kernel memory

## SYNOPSIS

```
    kernel_char:long(addr:long)
```

## ARGUMENTS

*addr*

The kernel address to retrieve the char from

## DESCRIPTION

Returns the char value from a given kernel memory address. Reports an error when reading from the given address fails.

## SEE ALSO0

[*tapset::conversions*(3stap)](/tapset::conversions/3stap.md)
