Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

MKPROTO(1)						      General Commands Manual							MKPROTO(1)

NAME
mkproto - create a MINIX prototype file SYNOPSIS
mkproto [-b n] [-d str] [-g n] [-i n] [-p nnn] [-s] [-t root] [-u n] source_directory [prototype_file] OPTIONS
-b Number of blocks in the prototype is n -d Indent the prototype file using str instead of tab -g Use n as the gid for all files and directories -i Number of i-nodes in the prototype is n -p Use nnn (3 octal digits) as the protection mode -s Use the same uid, gid and mode as the source files have -t Use the string root as the path prefix for every file -u Use n as the uid for all files and directories EXAMPLES
mkproto -b360 # Make a 360K prototype of this directory mkproto -u2 -g1 -p644 # Give all files uid 2, gid 1 and mode 644 DESCRIPTION
Mkproto creates an mkfs prototype file for the specified source-directory. The prototype file is either written to stdout or, if speci- fied, the proto-file. SEE ALSO
mkfs(1). MKPROTO(1)
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. UNIX for Dummies Questions & Answers

adding symbol to newlines with out replacing them

Guyz I have been using tr command to replace symbol. I would like to add a symbol to all newlines in a textfile with out replacing them input \n (i mean new line) a \n b \n c output > a > b > c (0 Replies)
Discussion started by: repinementer
0 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