Query: xservervendor
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XServerVendor() XServerVendor() Name XServerVendor, ServerVendor - return the vendor of connected server. Synopsis char *XServerVendor(display) Display *display; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). Returns The server vendor's string. Description XServerVendor() returns 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. Oth- erwise, 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 - Macro Equivalents XServerVendor()