Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cplus_demangle(3ext) [opensolaris 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 unde- fined. SunOS 5.11 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 unde- fined. SunOS 5.11 11 Mar 1997 demangle(3EXT)
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

System() and <stdlib.h> function , Pleeeeeeez Help !

Hi, guys ,, I want to know the implementation of System() function in C Unix, and its prototype definition: int system(const char * string) in the header file <stdlib.h> ??! please help me ! because that is part of my project !! (0 Replies)
Discussion started by: someone33
0 Replies

2. UNIX for Advanced & Expert Users

System function in <stdlib.h>, PLEEEEZ HELP !

Hi, guys ,, I want to know the implementation of System() function in C Unix, and its prototype definition: int system(const char * string) in the header file <stdlib.h> ??! please help me ! because that is part of my project !! (1 Reply)
Discussion started by: someone33
1 Replies

3. UNIX for Dummies Questions & Answers

System() function in <stdlib.h>

Hi, guys ,, I want to know the implementation of System() function in C Unix, and its prototype definition: int system(const char * string) in the header file <stdlib.h> ??! please help me ! because that is part of my project !! (0 Replies)
Discussion started by: someone33
0 Replies

4. Programming

how to catch a parameter that is of the wrong type

Hi there, Here is the prototype for the myConcat function which takes a variable number of arguments. I am to create a file that contains a definition of the myConcat function. char* myConcat(int n, ... ) When the function is called, the first argument should be an integer > 0. ... (1 Reply)
Discussion started by: Magdalena
1 Replies

5. UNIX for Dummies Questions & Answers

Another lame 'vi' question......

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)
Discussion started by: Yinzer955i
3 Replies

6. Shell Programming and Scripting

finding * in command line argument

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)
Discussion started by: cynosure2009
5 Replies

7. Programming

"__stl_new" must have a prototype

Hello, I am gettig an error as shown below while compiling using Sun C++ 5.8 compilation, "/temp5/SUNWspro/prod/include/CC/stlport4/stl/_alloc.h", line 134: Error: The function "__stl_new" must have a prototype. "/temp5/SUNWspro/prod/include/CC/stlport4/stl/_alloc.h", line 135: Error: The... (2 Replies)
Discussion started by: shafi2all
2 Replies

8. Shell Programming and Scripting

Need to add symbol in every end of line.

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)
Discussion started by: Jairaj
4 Replies

9. Shell Programming and Scripting

Check if string starts with $ symbol

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)
Discussion started by: cillmor
4 Replies

10. Shell Programming and Scripting

find and replace

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)
Discussion started by: ckchelladurai
6 Replies

11. UNIX for Dummies Questions & Answers

To replace '(' and ')' symbol using tr or sed

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)
Discussion started by: thomasraj87
8 Replies

12. UNIX for Dummies Questions & Answers

Duplicated file names with home directory symbol appearing in ls .

Why are there duplicated file names listed when I execute ls ? Result of my ls /root/Desktop : aaa ca new file~ what what~ Thanks. (4 Replies)
Discussion started by: Hijanoqu
4 Replies

13. What is on Your Mind?

Status of Badging System - Beta 1

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)
Discussion started by: Neo
4 Replies

14. What is on Your Mind?

Current Array of Badges (Beta 1)

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)
Discussion started by: Neo
6 Replies

15. What is on Your Mind?

Major Changes in New UserCP (v0.63) Prototype

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)
Discussion started by: Neo
4 Replies