Skip to contents

Explicitly converts an external pointer to a character string. Use this instead of relying on automatic conversion heuristics.

Usage

pointer_to_string(ptr)

Arguments

ptr

External pointer that points to a null-terminated string

Value

Character vector of length 1, or NULL if pointer is NULL