Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xcmssetcccofcolormap(3x11) [xfree86 man page]

XcmsCCCOfColormap(3X11) 					  XLIB FUNCTIONS					   XcmsCCCOfColormap(3X11)

NAME
XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap SYNTAX
XcmsCCC XcmsCCCOfColormap(Display *display, Colormap colormap); XcmsCCC XcmsSetCCCOfColormap(Display *display, Colormap colormap, XcmsCCC ccc); ARGUMENTS
display Specifies the connection to the X server. ccc Specifies the CCC. colormap Specifies the colormap. DESCRIPTION
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified colormap is used as an argument to color functions. The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new colormap. SEE ALSO
DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11) Xlib - C Language X Interface XFree86 Version 4.7.0 XcmsCCCOfColormap(3X11)

Check Out this Related Man Page

XcmsCCCOfColormap(3X11) 					  XLIB FUNCTIONS					   XcmsCCCOfColormap(3X11)

NAME
XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap SYNTAX
XcmsCCC XcmsCCCOfColormap(display, colormap) Display *display; Colormap colormap; XcmsCCC XcmsSetCCCOfColormap(display, colormap, ccc) Display *display; Colormap colormap; XcmsCCC ccc; ARGUMENTS
display Specifies the connection to the X server. ccc Specifies the CCC. colormap Specifies the colormap. DESCRIPTION
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified colormap is used as an argument to color functions. The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new colormap. SEE ALSO
DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11) Xlib - C Language X Interface X Version 11 Release 6.6 XcmsCCCOfColormap(3X11)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get a none duplicate list file

Dear sir i got a file like following format with the duplicate line: AAA AAA AAA AAA AAA BBB BBB BBB BBB CCC CCC CCC CCC ... (5 Replies)
Discussion started by: trynew
5 Replies

2. Shell Programming and Scripting

file formatiing with awk ?

Hi friends, I have to change the file format. I am fighting with writing a script with awk to do it. My input file format is as follows, AAA 123 AAA 200 BBB 320 BBB 400 CCC 120 CCC 460 I want to change it a following format, AAA 123 200 BBB 320 400 CCC 120 460 Can somebody... (2 Replies)
Discussion started by: maheshsri
2 Replies

3. Shell Programming and Scripting

How to delete carriage return in SED

Could someone tell me how to do the below without opening the file? (eg in sed or awk) I have a file with the contenst below: $ more file1.txt 10 AAA; 200 BBB; 3 CCC; I want to delete the carriage return of one line above the line which has ";" at the end to get the... (3 Replies)
Discussion started by: stevefox
3 Replies

4. Shell Programming and Scripting

Search between pattrens with one string in one or other line........

Hi have a lots of files with this type of code Example--1 PROCEDURE DIVISION USING AAA BBB CCC. Example--2 PROCEDURE DIVISION Some Commented Lines.... USING AAA BBB CCC. Example--3 (12 Replies)
Discussion started by: pbsrinivas
12 Replies

5. UNIX for Dummies Questions & Answers

How can you delete records in a file matching a pattern?

I am curious if the following can be done in a file in unix. Let's say I have a flat file with the following data AAA,12,2,,,, BBB,3,1,,,, CCC,,,,, DDD,2,,,,, SQQ,,,,, ASJ,,3,5 I only want to capture the data with values into a new file. If the data contains the pattern ,,,,, as in... (2 Replies)
Discussion started by: mode09
2 Replies

6. UNIX for Advanced & Expert Users

need to concatenate two lines if the line doesnt end with quotes

Hi I am getting a source file where the columns are seperated by comma and double Quotes Eg1 : "AAA","BBB","CCCC" in the same source file i am also getting few lines where my last columns double quotes are ending in its next line or the next next line Eg2: "AAA","BBB","CCC CC"... (9 Replies)
Discussion started by: laxmi131
9 Replies

7. Shell Programming and Scripting

get a name according to the 2nd field

Hi, I have a file with this format: name number -------------- ----------- AAA 11700 BBB 6000 CCC 6000 I want to catch any of these names if number > 200 How to do that? at a... (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

8. UNIX for Dummies Questions & Answers

adding text from a file to the top of the file

Hi all, I need a include a text from the file and include it in the top of the other file.. i.e file 1 contains AAA BBB CCC DDD EEE file2 contains 333 44 23 452 54235 232341 4321414 Now i need to insert the text from file1 to file2 at the top of the file2. (13 Replies)
Discussion started by: sivakumar.rj
13 Replies

9. Shell Programming and Scripting

Finding conserved pattern in different files

Hi power user, For examples, I have three different files: file 1: file2: file 3: AAA CCC ZZZ BBB BBB CCC CCC DDD DDD DDD TTT AAA EEE AAA XXX I... (8 Replies)
Discussion started by: anjas
8 Replies

10. Shell Programming and Scripting

HELP Need in SED/PERL conditional line replacement

Hi , I need some help on perl/sed conditional replacement The situation is like below . I have a file contents like below . AAA|BBB|CCC|DDD AAA|BCF|CCC|HHH AAA|BVF|JJJ|KKK Here in the above file . I know my second column value (taking "|" as my delimited ) Basically I have to... (3 Replies)
Discussion started by: robin.r888
3 Replies

11. Shell Programming and Scripting

Group By in Unix

Hi, I have file with Header Data and trailer records Head|currentdate|EOF Data|AAA|BBB|CCC|DDD|EEE|Source1 Data|AAA|BBB|CCC|DDD|EEE|Source1 Data|AAA|BBB|CCC|DDD|EEE|Source2 Data|AAA|BBB|CCC|DDD|EEE|Source2 Data|AAA|BBB|CCC|DDD|EEE|Source2 End|rec|EOF Now I need the count of only... (3 Replies)
Discussion started by: magesh_bala
3 Replies

12. Shell Programming and Scripting

Questions on File filtering

I have a file test.txt with the lines below : $ cat test.txt AAA 1 AAA 2 BBB 5 BBB 7 BBB 9 CCC 3 CCC 4 DDD 6 EEE 5 I want to filter the file above to make it have unique rows with the condition that if there are rows with the same value in the first column I want the row with the... (5 Replies)
Discussion started by: stevefox
5 Replies

13. UNIX for Dummies Questions & Answers

retrieving data between two strings

I have input file like AAA AAA CCC CCC CCC EEE EEE EEE EEE FFF FFF GGG GGG i was trying to retrieve data between two strings using sed. sed -n /CCC/,/FFF/p input_file Am getting output like CCC CCC CCC (22 Replies)
Discussion started by: NareshN
22 Replies

14. UNIX for Dummies Questions & Answers

grep lines in a file that have only one field

Hello. How does one grep lines in a file that have only one field? AAA BBB CCC DDD AAA CCC Is is possible to grep "DDD" becuase it has only one field? Thanks. ---------- Post updated at 08:03 PM ---------- Previous update was at 07:25 PM ---------- I found it, thank you! awk 'NF... (2 Replies)
Discussion started by: jimmyf
2 Replies

15. UNIX for Dummies Questions & Answers

How to replace \ with / in a file?

After grep line with AAA/BBB/CCC from an XML file, the output file consists only the line as AAA\BBB\CCC.. How do i fix this. ??? can someboody please help with this?? (4 Replies)
Discussion started by: Karthick127
4 Replies