Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xcupqueryversion(3) [debian man page]

XcupQueryVersion(3)						    X FUNCTIONS 					       XcupQueryVersion(3)

NAME
XcupQueryVersion - Returns TOG-CUP protocol version supported by the X server SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ] #include <X11/extensions/Xcup.h> Status XcupQueryVersion(Display *display, int *major_version_return, int *minor_version_return); ARGUMENTS
display Specifies the connection to the X server major_version_return Returns the major version supported by the server minor_version_return Returns the minor version supported by the server DESCRIPTION
XcupQueryVersion sets major_version_return and minor_version_return to the major and minor TOG-CUP protocol version supported by the server. If the TOG-CUP library is compatible with the version returned by the server, it returns nonzero. If the server does not support the TOG-CUP extension, or if there was an error during communications with the server, or if the server and library protocol versions are incompatible, it returns zero. No other Xcup functions may be called before this function. If a client violates this rule, the effects of all subsequent Xcup calls that it makes are undefined. To get the list of reserved colormap entries, use XcupGetReservedColormapEntries. To allocate one or more read-only color cells with RGB values, use XcupStoreColors. SEE ALSO
XcupGetReservedColormapEntries(3Xext), XcupStoreColors(3Xext), Colormap Utilization Policy and Extension X Version 11 libXext 1.3.1 XcupQueryVersion(3)

Check Out this Related Man Page

XcupQueryVersion(3)						    X FUNCTIONS 					       XcupQueryVersion(3)

NAME
XcupQueryVersion - Returns TOG-CUP protocol version supported by the X server SYNOPSIS
cc [ flag ... ] file ... -lXext [ library ... ] #include <X11/extensions/Xcup.h> Status XcupQueryVersion(Display *display, int *major_version_return, int *minor_version_return); ARGUMENTS
display Specifies the connection to the X server major_version_return Returns the major version supported by the server minor_version_return Returns the minor version supported by the server DESCRIPTION
XcupQueryVersion sets major_version_return and minor_version_return to the major and minor TOG-CUP protocol version supported by the server. If the TOG-CUP library is compatible with the version returned by the server, it returns nonzero. If the server does not support the TOG-CUP extension, or if there was an error during communications with the server, or if the server and library protocol versions are incompatible, it returns zero. No other Xcup functions may be called before this function. If a client violates this rule, the effects of all subsequent Xcup calls that it makes are undefined. To get the list of reserved colormap entries, use XcupGetReservedColormapEntries. To allocate one or more read-only color cells with RGB values, use XcupStoreColors. SEE ALSO
XcupGetReservedColormapEntries(3Xext), XcupStoreColors(3Xext), Colormap Utilization Policy and Extension X Version 11 libXext 1.0.5 XcupQueryVersion(3)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

help about scounix?

HOW CAN I GET RIGHT ? thank you ! $ cc server.c UX:acomp: WARNING: "server.c", line 60: argument is incompatible with prototype6 Undefined first referenced symbol in file socket server.o getprotobyname ... (2 Replies)
Discussion started by: loudingyang
2 Replies

2. Shell Programming and Scripting

CUP and Memory

Hi All Unix experts, I want to calculate CUP Utilization and Memory Utilization on solairs boxes. Please help me to write a script for this, since i am doing this manualy for more than 30 servers daily. My daily task is # top last pid: 28627; load avg: 8.50, 8.12, 8.16; up... (4 Replies)
Discussion started by: bullz26
4 Replies

3. Hardware

CUP CHIP and CPU ID

Hi All, What is the difference between CPU CHIP and CUP ID on SUN/ Oracle M5000 servers.. Thanks in advance (1 Reply)
Discussion started by: kumarmani
1 Replies

4. UNIX and Linux Applications

Version of Weblogic server

Hi All, How to find the version of the weblogic server configured? Our server is a Linux based server. Regards Dhivya (1 Reply)
Discussion started by: dhivya.enjoy
1 Replies