demangle(3EXT) Extended Library Functions demangle(3EXT)NAME
demangle, cplus_demangle - decode a C++ encoded symbol name
SYNOPSIS
cc [ flag ... ] file[ library ... ] -ldemangle
#include <demangle.h>
int cplus_demangle(const char *symbol, char *prototype, size_t size);
DESCRIPTION
The cplus_demangle() function decodes (demangles) a C++ linker symbol name (mangled name) into a (partial) C++ prototype, if possible.
C++ mangled names may not have enough information to form a complete prototype.
The symbol string argument points to the input mangled name.
The prototype argument points to a user-specified output string buffer, of size bytes.
The cplus_demangle() function operates on mangled names generated by SPARCompilers C++ 3.0.1, 4.0.1, 4.1 and 4.2.
The cplus_demangle() function improves and replaces the demangle() function.
Refer to the CC.1, dem.1, and c++filt.1 manual pages in the /opt/SUNWspro/man/man1 directory. These pages are only available with the
SPROcc package.
RETURN VALUES
The cplus_demangle() function returns the following values:
0 The symbol argument is a valid mangled name and prototype contains a (partial) prototype for the symbol.
DEMANGLE_ENAME The symbol argument is not a valid mangled name and the content of prototype is a copy of the symbol.
DEMANGLE_ESPACE The prototype output buffer is too small to contain the prototype (or the symbol), and the content of prototype is
undefined.
SunOS 5.10 11 Mar 1997 demangle(3EXT)
Check Out this Related Man Page
demangle(3EXT) Extended Library Functions demangle(3EXT)NAME
demangle, cplus_demangle - decode a C++ encoded symbol name
SYNOPSIS
cc [ flag ... ] file[ library ... ] -ldemangle
#include <demangle.h>
int cplus_demangle(const char *symbol, char *prototype, size_t size);
DESCRIPTION
The cplus_demangle() function decodes (demangles) a C++ linker symbol name (mangled name) into a (partial) C++ prototype, if possible.
C++ mangled names may not have enough information to form a complete prototype.
The symbol string argument points to the input mangled name.
The prototype argument points to a user-specified output string buffer, of size bytes.
The cplus_demangle() function operates on mangled names generated by SPARCompilers C++ 3.0.1, 4.0.1, 4.1 and 4.2.
The cplus_demangle() function improves and replaces the demangle() function.
Refer to the CC.1, dem.1, and c++filt.1 manual pages in the /opt/SUNWspro/man/man1 directory. These pages are only available with the
SPROcc package.
RETURN VALUES
The cplus_demangle() function returns the following values:
0 The symbol argument is a valid mangled name and prototype contains a (partial) prototype for the symbol.
DEMANGLE_ENAME The symbol argument is not a valid mangled name and the content of prototype is a copy of the symbol.
DEMANGLE_ESPACE The prototype output buffer is too small to contain the prototype (or the symbol), and the content of prototype is
undefined.
SunOS 5.10 11 Mar 1997 demangle(3EXT)
Didn't have this problem in AIX, but ported to Linux with GCC compiler and am now getting a runtime error:
tssutil: symbol lookup error: /work/agility/devel/bin/libagam.so: undefined symbol: fstat
I'm sure most of you know that fstat is an intrinsic function just like printf, memcpy, etc. When I... (5 Replies)
This is a long shot, but there are many bright folks on here ;)
My next vi drama involves a using a prototype file for a makefile. I have an old prototype file but its not in correct format. It's formated as:
/the/old/path/file1 <garbage> <garbage>
/the/old/path/file2 ... (3 Replies)
I have to write a script to determine whether given command line argument ($1) contains "*" symbol or not, if $1 does not contains "*" symbol add it to $1, otherwise show message "Symbol is not required". For e.g. If we called this script q5 then after giving ,
$ q5 /bin
Here $1 is /bin, it... (5 Replies)
I have a C code which i am trying to compile using gcc. When i am trying to compile it i get the error undefined symbol error though i am providing the -l*** option where *** refers to the module where the object files for those symbols are present.
Can someone help me on the same. (4 Replies)
hi,
In my input file i have less number of pipe symbol , it is suppose to be 10 pipe symbol. If the inputfile have less than 10 pipesymbol then i need append upto 10 pipe symbol.
please help to solve problem.
Input file :
abc|xyz|
1|2|3|4|5|
s|
1|2|||||||||
Output file :
... (4 Replies)
How do I check that a string $AA22CC3 starts with the "$" symbol ?
I have tried :
checksum='$AAB3E45'
echo $checksum
case $checksum in
$* ) echo success ;
esac
Thanks ... (4 Replies)
Hi All,
I used this code to strip-off $-symbol from string values.
a="$980"
b="897"
a=`echo "$a" | sed 's/$/ /g'`
b=`echo "$b" | sed 's/$/ /g'`
echo "$a"
echo "$b"
but this results in the output:
80 and 897
it works when i use
a='$987'
b='890' (13 Replies)
Hi,
I have to grep value from one file, if that value is already present with "#" symbol. I have to remove that symbol in that file.
Ex:
file1.txt contains the following string
#value=15
I have to search for "Value". If I found the string with hash symbol, nee to remove the # in... (6 Replies)
I am trying to replace '(' and ')' symbol with nul text using tr command. But i am not able to get the expected output . Please help
# cat test.txt
155170816-(75767Mb)
# tr '(' '' < test.txt
155170816-(75767Mb)
# tr ')' '' < test.txt
155170816-(75767Mb)
#
I want the o/p as
... (8 Replies)
Dear All,
Here is the current status of the badging system:
The Beta 1 phase of the new badging system is close to completion.
42 prototype badges have been "allocated"
6 prototype badge slots are held in reserve
The "alert you have new badges" prototype is running and is currently... (4 Replies)
Here is the current array of the short description of badges for the new prototype badging system (Beta 1) with 42 icons allocated (prototype logic written) and 6 reserved (for future use);
<?php
$badges_desc = array(
"fauser" => "Total Post Count",
"faaward" => "First Post",
... (6 Replies)
Regarding the latest version of the UserCP prototype (version 0.63) I have made a lot of major changes, including
Added a "Posts Timeline" table for the recent posts, complimenting the non-table version earlier, which has been moved off the main menu (link at the bottom of the table).
Added a... (4 Replies)