demangle(3)
NAME
demangle − decode a C++ encoded symbol name
SYNOPSIS
CC[flag...]file ... [library...]
#include<demangle.h>
cpp_demangle(const char ∗in, char ∗out, size_t size);
DESCRIPTION
cplus_demangle(|) decodes the string in, and copies the result to out. in points to a string representing a name mangled by the C++ compiler. out is a buffer of size that you specify, which contains the byte size. If the output buffer is too small to contain the demangled name, cplus_demangle() returns DEMANGLE_ESPACE, and the contents of out are undefined. Otherwise, if the name is a valid C++ name, cplus_demangle() returns 0. If in is not a valid C++ mangled name, it is copied unchanged to out and the function returns DEMANGLE_ENAME.
cplus_demangle() operates on mangled names generated by C++ 3.0.1 and all versions of C++ 4.0 and above.
SEE ALSO
cc(1B) in the C++ Library Reference Manual.
SunOS 5.5 — Last change: 01 Feb 1995