DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

c++filt(1C++)


c++filt -- C++ name demangler

Synopsis

   c++filt [-Vw] file . . .

Description

c++filt demangles names encoded by the C++ compilation system that occur in ASCII text. If no files are specified, it reads from standard input. Otherwise it reads lines from the files in turn. Demangling is done in place and the resulting lines are written to standard output. Any non-alphanumeric character delimits possible names to be demangled.

Flags


-V
Print, on standard error, the version number of the demangler.

-w
Causes only whitespace to be used to delimit possible names to be demangled. This means, for example, that a name delimited by '.' or ',' will not be demangled.

Exit codes

c++filt returns 0 on success and non-zero on failure (for example, if an invalid flag was specified, or if any file specified on the command line could not be opened). In the latter case the exit code represents the number of error conditions encountered.

Usage

Examples

   $ cat some.file
   member function get2__1AFv has not been inlined
   $ c++filt some.file
   member function A::get2(void) has not been inlined

References

CC(CP), ld(C), nm(C)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005