NAME
XServerVendor, ServerVendor — return the vendor of connected server.
SYNOPSIS
char ∗XServerVendor(display)
Display ∗display;
ARGUMENTS
displaySpecifies a connection to an X server; returned from XOpenDisplay().
RETURNS
The server vendor’s string.
DESCRIPTION
XServerVendor() return a pointer to a null-terminated string that provides some identification of the X server implementation. If the data returned by the server is in the Latin Portable Character Encoding, then the string is in the Host Portable Character Encoding. Otherwise, the contents of the string are implementation-dependent.
This function and XVendorRelease() make it possible to work around bugs in particular server implementations.
The C language macro ServerVendor() is equivalent and slightly more efficient.
Note also that in Release 5, the XlibSpecificationRelease symbol is defined (with the value 5) by Xlib. Before Release 5 this symbol was not defined.
SEE ALSO
XVendorRelease().
Xlib Reference Manual