Chapter 1. Libraries

The X Libraries should be built thread-safe.

1.1. Interfaces for libX11

Table 1-1 defines the library name and shared object name for the libX11 library

Table 1-1. libX11 Definition

Library:libX11
SONAME:libX11.so.6

The behavior of the interfaces in this library is specified by the following specifications:

this specification
X11 C Library

1.1.1. X Windows System Interface

1.1.1.1. Interfaces for X Windows System Interface

An LSB conforming implementation shall provide the generic functions for X Windows System Interface specified in Table 1-2, with the full mandatory functionality as described in the referenced underlying specification.

Table 1-2. libX11 - X Windows System Interface Function Interfaces

XActivateScreenSaver [1]XFreePixmap [1]XSetCloseDownMode [1]XkbAllocGeomColors [1]
XAddConnectionWatch [1]XFreeStringList [1]XSetCommand [1]XkbAllocGeomDoodads [1]
XAddExtension [1]XGContextFromGC [1]XSetDashes [1]XkbAllocGeomKeyAliases [1]
XAddHost [1]XGeometry [1]XSetErrorHandler [1]XkbAllocGeomKeys [1]
XAddHosts [1]XGetAtomName [1]XSetFillRule [1]XkbAllocGeomOutlines [1]
XAddPixel [1]XGetAtomNames [1]XSetFillStyle [1]XkbAllocGeomOverlayKeys [1]
XAddToExtensionList [1]XGetClassHint [1]XSetFont [1]XkbAllocGeomOverlayRows [1]
XAddToSaveSet [1]XGetCommand [1]XSetFontPath [1]XkbAllocGeomOverlays [1]
XAllPlanes [1]XGetDefault [1]XSetForeground [1]XkbAllocGeomPoints [1]
XAllocClassHint [1]XGetErrorDatabaseText [1]XSetFunction [1]XkbAllocGeomProps [1]
XAllocColor [1]XGetErrorText [1]XSetGraphicsExposures [1]XkbAllocGeomRows [1]
XAllocColorCells [1]XGetFontPath [1]XSetICFocus [1]XkbAllocGeomSectionDoodads [1]
XAllocColorPlanes [1]XGetFontProperty [1]XSetICValues [1]XkbAllocGeomSections [1]
XAllocIconSize [1]XGetGCValues [1]XSetIMValues [1]XkbAllocGeomShapes [1]
XAllocNamedColor [1]XGetGeometry [1]XSetIOErrorHandler [1]XkbAllocGeometry [1]
XAllocSizeHints [1]XGetICValues [1]XSetIconName [1]XkbAllocIndicatorMaps [1]
XAllocStandardColormap [1]XGetIMValues [1]XSetIconSizes [1]XkbAllocKeyboard [1]
XAllocWMHints [1]XGetIconName [1]XSetInputFocus [1]XkbAllocNames [1]
XAllowEvents [1]XGetIconSizes [1]XSetLineAttributes [1]XkbAllocServerMap [1]
XAutoRepeatOff [1]XGetImage [1]XSetLocaleModifiers [1]XkbApplyCompatMapToKey [1]
XAutoRepeatOn [1]XGetInputFocus [1]XSetModifierMapping [1]XkbBell [1]
XBaseFontNameListOfFontSet [1]XGetKeyboardControl [1]XSetNormalHints [1]XkbBellEvent [1]
XBell [1]XGetKeyboardMapping [1]XSetOCValues [1]XkbChangeEnabledControls [1]
XBitmapBitOrder [1]XGetModifierMapping [1]XSetOMValues [1]XkbChangeMap [1]
XBitmapPad [1]XGetMotionEvents [1]XSetPlaneMask [1]XkbChangeNames [1]
XBitmapUnit [1]XGetNormalHints [1]XSetPointerMapping [1]XkbChangeTypesOfKey [1]
XBlackPixel [1]XGetOCValues [1]XSetRGBColormaps [1]XkbComputeEffectiveMap [1]
XBlackPixelOfScreen [1]XGetOMValues [1]XSetRegion [1]XkbComputeRowBounds [1]
XCellsOfScreen [1]XGetPixel [1]XSetScreenSaver [1]XkbComputeSectionBounds [1]
XChangeActivePointerGrab [1]XGetPointerControl [1]XSetSelectionOwner [1]XkbComputeShapeBounds [1]
XChangeGC [1]XGetPointerMapping [1]XSetSizeHints [1]XkbComputeShapeTop [1]
XChangeKeyboardControl [1]XGetRGBColormaps [1]XSetStandardColormap [1]XkbCopyKeyType [1]
XChangeKeyboardMapping [1]XGetScreenSaver [1]XSetStandardProperties [1]XkbCopyKeyTypes [1]
XChangePointerControl [1]XGetSelectionOwner [1]XSetState [1]XkbFindOverlayForKey [1]
XChangeProperty [1]XGetSizeHints [1]XSetStipple [1]XkbForceBell [1]
XChangeSaveSet [1]XGetStandardColormap [1]XSetSubwindowMode [1]XkbFreeClientMap [1]
XChangeWindowAttributes [1]XGetSubImage [1]XSetTSOrigin [1]XkbFreeCompatMap [1]
XCheckIfEvent [1]XGetTextProperty [1]XSetTextProperty [1]XkbFreeComponentList [1]
XCheckMaskEvent [1]XGetTransientForHint [1]XSetTile [1]XkbFreeControls [1]
XCheckTypedEvent [1]XGetVisualInfo [1]XSetTransientForHint [1]XkbFreeGeomColors [1]
XCheckTypedWindowEvent [1]XGetWMClientMachine [1]XSetWMClientMachine [1]XkbFreeGeomDoodads [1]
XCheckWindowEvent [1]XGetWMColormapWindows [1]XSetWMColormapWindows [1]XkbFreeGeomKeyAliases [1]
XCirculateSubwindows [1]XGetWMHints [1]XSetWMHints [1]XkbFreeGeomKeys [1]
XCirculateSubwindowsDown [1]XGetWMIconName [1]XSetWMIconName [1]XkbFreeGeomOutlines [1]
XCirculateSubwindowsUp [1]XGetWMName [1]XSetWMName [1]XkbFreeGeomOverlayKeys [1]
XClearArea [1]XGetWMNormalHints [1]XSetWMNormalHints [1]XkbFreeGeomOverlayRows [1]
XClearWindow [1]XGetWMProtocols [1]XSetWMProperties [1]XkbFreeGeomOverlays [1]
XClipBox [1]XGetWMSizeHints [1]XSetWMProtocols [1]XkbFreeGeomPoints [1]
XCloseDisplay [1]XGetWindowAttributes [1]XSetWMSizeHints [1]XkbFreeGeomProperties [1]
XCloseIM [1]XGetWindowProperty [1]XSetWindowBackground [1]XkbFreeGeomRows [1]
XCloseOM [1]XGetZoomHints [1]XSetWindowBackgroundPixmap [1]XkbFreeGeomSections [1]
XConfigureWindow [1]XGrabButton [1]XSetWindowBorder [1]XkbFreeGeomShapes [1]
XConnectionNumber [1]XGrabKey [1]XSetWindowBorderPixmap [1]XkbFreeGeometry [1]
XContextDependentDrawing [1]XGrabKeyboard [1]XSetWindowBorderWidth [1]XkbFreeIndicatorMaps [1]
XContextualDrawing [1]XGrabPointer [1]XSetWindowColormap [1]XkbFreeKeyboard [1]
XConvertCase [1]XGrabServer [1]XSetZoomHints [1]XkbFreeNames [1]
XConvertSelection [1]XHeightMMOfScreen [1]XShrinkRegion [1]XkbFreeServerMap [1]
XCopyArea [1]XHeightOfScreen [1]XStoreBuffer [1]XkbGetAutoRepeatRate [1]
XCopyColormapAndFree [1]XIMOfIC [1]XStoreBytes [1]XkbGetCompatMap [1]
XCopyGC [1]XIconifyWindow [1]XStoreColor [1]XkbGetControls [1]
XCopyPlane [1]XIfEvent [1]XStoreColors [1]XkbGetGeometry [1]
XCreateBitmapFromData [1]XImageByteOrder [1]XStoreName [1]XkbGetIndicatorMap [1]
XCreateColormap [1]XInitExtension [1]XStoreNamedColor [1]XkbGetIndicatorState [1]
XCreateFontCursor [1]XInitImage [1]XStringListToTextProperty [1]XkbGetKeyActions [1]
XCreateFontSet [1]XInitThreads [1]XStringToKeysym [1]XkbGetKeyBehaviors [1]
XCreateGC [1]XInsertModifiermapEntry [1]XSubImage [1]XkbGetKeyExplicitComponents [1]
XCreateGlyphCursor [1]XInstallColormap [1]XSubtractRegion [1]XkbGetKeyModifierMap [1]
XCreateIC [1]XInternAtom [1]XSupportsLocale [1]XkbGetKeySyms [1]
XCreateImage [1]XInternAtoms [1]XSync [1]XkbGetKeyTypes [1]
XCreateOC [1]XInternalConnectionNumbers [1]XTextExtents [1]XkbGetKeyboard [1]
XCreatePixmap [1]XIntersectRegion [1]XTextExtents16 [1]XkbGetKeyboardByName [1]
XCreatePixmapCursor [1]XKeycodeToKeysym [1]XTextPropertyToStringList [1]XkbGetMap [1]
XCreatePixmapFromBitmapData [1]XKeysymToKeycode [1]XTextWidth [1]XkbGetMapChanges [1]
XCreateRegion [1]XKeysymToString [1]XTextWidth16 [1]XkbGetNamedGeometry [1]
XCreateSimpleWindow [1]XKillClient [1]XTranslateCoordinates [1]XkbGetNamedIndicator [1]
XCreateWindow [1]XLastKnownRequestProcessed [1]XUndefineCursor [1]XkbGetNames [1]
XDefaultColormap [1]XListDepths [1]XUngrabButton [1]XkbGetState [1]
XDefaultColormapOfScreen [1]XListExtensions [1]XUngrabKey [1]XkbGetUpdatedMap [1]
XDefaultDepth [1]XListFonts [1]XUngrabKeyboard [1]XkbGetVirtualMods [1]
XDefaultDepthOfScreen [1]XListFontsWithInfo [1]XUngrabPointer [1]XkbGetXlibControls [1]
XDefaultGC [1]XListHosts [1]XUngrabServer [1]XkbIgnoreExtension [1]
XDefaultGCOfScreen [1]XListInstalledColormaps [1]XUninstallColormap [1]XkbInitCanonicalKeyTypes [1]
XDefaultRootWindow [1]XListPixmapFormats [1]XUnionRectWithRegion [1]XkbKeyTypesForCoreSymbols [1]
XDefaultScreen [1]XListProperties [1]XUnionRegion [1]XkbKeycodeToKeysym [1]
XDefaultScreenOfDisplay [1]XLoadFont [1]XUnloadFont [1]XkbKeysymToModifiers [1]
XDefaultString [1]XLoadQueryFont [1]XUnlockDisplay [1]XkbLatchGroup [1]
XDefaultVisual [1]XLocaleOfFontSet [1]XUnmapSubwindows [1]XkbLatchModifiers [1]
XDefaultVisualOfScreen [1]XLocaleOfIM [1]XUnmapWindow [1]XkbLibraryVersion [1]
XDefineCursor [1]XLocaleOfOM [1]XUnregisterIMInstantiateCallback [1]XkbListComponents [1]
XDeleteContext [1]XLockDisplay [1]XUnsetICFocus [1]XkbLockGroup [1]
XDeleteModifiermapEntry [1]XLookupColor [1]XVaCreateNestedList [1]XkbLockModifiers [1]
XDeleteProperty [1]XLookupKeysym [1]XVendorRelease [1]XkbLookupKeyBinding [1]
XDestroyIC [1]XLookupString [1]XVisualIDFromVisual [1]XkbLookupKeySym [1]
XDestroyImage [1]XLowerWindow [1]XWMGeometry [1]XkbNoteControlsChanges [1]
XDestroyOC [1]XMapRaised [1]XWarpPointer [1]XkbNoteMapChanges [1]
XDestroyRegion [1]XMapSubwindows [1]XWhitePixel [1]XkbNoteNameChanges [1]
XDestroySubwindows [1]XMapWindow [1]XWhitePixelOfScreen [1]XkbOpenDisplay [1]
XDestroyWindow [1]XMaskEvent [1]XWidthMMOfScreen [1]XkbQueryExtension [1]
XDirectionalDependentDrawing [1]XMatchVisualInfo [1]XWidthOfScreen [1]XkbRefreshKeyboardMapping [1]
XDisableAccessControl [1]XMaxCmapsOfScreen [1]XWindowEvent [1]XkbResizeKeyActions [1]
XDisplayCells [1]XMaxRequestSize [1]XWithdrawWindow [1]XkbResizeKeySyms [1]
XDisplayHeight [1]XMinCmapsOfScreen [1]XWriteBitmapFile [1]XkbResizeKeyType [1]
XDisplayHeightMM [1]XMoveResizeWindow [1]XXorRegion [1]XkbSelectEventDetails [1]
XDisplayKeycodes [1]XMoveWindow [1]XauDisposeAuth [1]XkbSelectEvents [1]
XDisplayMotionBufferSize [1]XNewModifiermap [1]XauFileName [1]XkbSetAtomFuncs [1]
XDisplayName [1]XNextEvent [1]XauGetBestAuthByAddr [1]XkbSetAutoRepeatRate [1]
XDisplayOfIM [1]XNextRequest [1]XauReadAuth [1]XkbSetAutoResetControls [1]
XDisplayOfOM [1]XNoOp [1]XcmsAddColorSpace [1]XkbSetCompatMap [1]
XDisplayOfScreen [1]XOMOfOC [1]XcmsAddFunctionSet [1]XkbSetControls [1]
XDisplayPlanes [1]XOffsetRegion [1]XcmsAllocColor [1]XkbSetDebuggingFlags [1]
XDisplayString [1]XOpenDisplay [1]XcmsAllocNamedColor [1]XkbSetDetectableAutoRepeat [1]
XDisplayWidth [1]XOpenIM [1]XcmsCCCOfColormap [1]XkbSetGeometry [1]
XDisplayWidthMM [1]XOpenOM [1]XcmsCIELabClipL [1]XkbSetIgnoreLockMods [1]
XDoesBackingStore [1]XParseColor [1]XcmsCIELabClipLab [1]XkbSetIndicatorMap [1]
XDoesSaveUnders [1]XParseGeometry [1]XcmsCIELabClipab [1]XkbSetMap [1]
XDrawArc [1]XPeekEvent [1]XcmsCIELabQueryMaxC [1]XkbSetNamedIndicator [1]
XDrawArcs [1]XPeekIfEvent [1]XcmsCIELabQueryMaxL [1]XkbSetNames [1]
XDrawImageString [1]XPending [1]XcmsCIELabQueryMaxLC [1]XkbSetServerInternalMods [1]
XDrawImageString16 [1]XPlanesOfScreen [1]XcmsCIELabQueryMinL [1]XkbSetXlibControls [1]
XDrawLine [1]XPointInRegion [1]XcmsCIELabToCIEXYZ [1]XkbToControl [1]
XDrawLines [1]XPolygonRegion [1]XcmsCIELabWhiteShiftColors [1]XkbTranslateKeyCode [1]
XDrawPoint [1]XProcessInternalConnection [1]XcmsCIELuvClipL [1]XkbTranslateKeySym [1]
XDrawPoints [1]XProtocolRevision [1]XcmsCIELuvClipLuv [1]XkbUpdateMapFromCore [1]
XDrawRectangle [1]XProtocolVersion [1]XcmsCIELuvClipuv [1]XkbUseExtension [1]
XDrawRectangles [1]XPutBackEvent [1]XcmsCIELuvQueryMaxC [1]XkbVirtualModsToReal [1]
XDrawSegments [1]XPutImage [1]XcmsCIELuvQueryMaxL [1]XmbDrawImageString [1]
XDrawString [1]XPutPixel [1]XcmsCIELuvQueryMaxLC [1]XmbDrawString [1]
XDrawString16 [1]XQLength [1]XcmsCIELuvQueryMinL [1]XmbDrawText [1]
XDrawText [1]XQueryBestCursor [1]XcmsCIELuvToCIEuvY [1]XmbLookupString [1]
XDrawText16 [1]XQueryBestSize [1]XcmsCIELuvWhiteShiftColors [1]XmbResetIC [1]
XEHeadOfExtensionList [1]XQueryBestStipple [1]XcmsCIEXYZToCIELab [1]XmbSetWMProperties [1]
XESetBeforeFlush [1]XQueryBestTile [1]XcmsCIEXYZToCIEuvY [1]XmbTextEscapement [1]
XESetCloseDisplay [1]XQueryColor [1]XcmsCIEXYZToCIExyY [1]XmbTextExtents [1]
XESetCopyGC [1]XQueryColors [1]XcmsCIEXYZToRGBi [1]XmbTextListToTextProperty [1]
XESetCreateFont [1]XQueryExtension [1]XcmsCIEuvYToCIELuv [1]XmbTextPerCharExtents [1]
XESetCreateGC [1]XQueryFont [1]XcmsCIEuvYToCIEXYZ [1]XmbTextPropertyToTextList [1]
XESetError [1]XQueryKeymap [1]XcmsCIEuvYToTekHVC [1]XrmCombineDatabase [1]
XESetErrorString [1]XQueryPointer [1]XcmsCIExyYToCIEXYZ [1]XrmCombineFileDatabase [1]
XESetEventToWire [1]XQueryTextExtents [1]XcmsClientWhitePointOfCCC [1]XrmDestroyDatabase [1]
XESetFlushGC [1]XQueryTextExtents16 [1]XcmsConvertColors [1]XrmEnumerateDatabase [1]
XESetFreeFont [1]XQueryTree [1]XcmsCreateCCC [1]XrmGetDatabase [1]
XESetFreeGC [1]XRaiseWindow [1]XcmsDefaultCCC [1]XrmGetFileDatabase [1]
XESetPrintErrorValues [1]XReadBitmapFile [1]XcmsDisplayOfCCC [1]XrmGetResource [1]
XESetWireToError [1]XReadBitmapFileData [1]XcmsFormatOfPrefix [1]XrmGetStringDatabase [1]
XESetWireToEvent [1]XRebindKeysym [1]XcmsFreeCCC [1]XrmInitialize [1]
XEmptyRegion [1]XRecolorCursor [1]XcmsLookupColor [1]XrmLocaleOfDatabase [1]
XEnableAccessControl [1]XReconfigureWMWindow [1]XcmsPrefixOfFormat [1]XrmMergeDatabases [1]
XEqualRegion [1]XRectInRegion [1]XcmsQueryBlack [1]XrmParseCommand [1]
XEventMaskOfScreen [1]XRefreshKeyboardMapping [1]XcmsQueryBlue [1]XrmPermStringToQuark [1]
XEventsQueued [1]XRegisterIMInstantiateCallback [1]XcmsQueryColor [1]XrmPutFileDatabase [1]
XExtendedMaxRequestSize [1]XRemoveConnectionWatch [1]XcmsQueryColors [1]XrmPutLineResource [1]
XExtentsOfFontSet [1]XRemoveFromSaveSet [1]XcmsQueryGreen [1]XrmPutResource [1]
XFetchBuffer [1]XRemoveHost [1]XcmsQueryRed [1]XrmPutStringResource [1]
XFetchBytes [1]XRemoveHosts [1]XcmsQueryWhite [1]XrmQGetResource [1]
XFetchName [1]XReparentWindow [1]XcmsRGBToRGBi [1]XrmQGetSearchList [1]
XFillArc [1]XResetScreenSaver [1]XcmsRGBiToCIEXYZ [1]XrmQGetSearchResource [1]
XFillArcs [1]XResizeWindow [1]XcmsRGBiToRGB [1]XrmQPutResource [1]
XFillPolygon [1]XResourceManagerString [1]XcmsScreenNumberOfCCC [1]XrmQPutStringResource [1]
XFillRectangle [1]XRestackWindows [1]XcmsScreenWhitePointOfCCC [1]XrmQuarkToString [1]
XFillRectangles [1]XRootWindow [1]XcmsSetCCCOfColormap [1]XrmSetDatabase [1]
XFilterEvent [1]XRootWindowOfScreen [1]XcmsSetCompressionProc [1]XrmStringToBindingQuarkList [1]
XFindContext [1]XRotateBuffers [1]XcmsSetWhiteAdjustProc [1]XrmStringToQuark [1]
XFindOnExtensionList [1]XRotateWindowProperties [1]XcmsSetWhitePoint [1]XrmStringToQuarkList [1]
XFlush [1]XSaveContext [1]XcmsStoreColor [1]XrmUniqueQuark [1]
XFlushGC [1]XScreenCount [1]XcmsStoreColors [1]Xutf8TextListToTextProperty [2]
XFontsOfFontSet [1]XScreenNumberOfScreen [1]XcmsTekHVCClipC [1]Xutf8TextPropertyToTextList [2]
XForceScreenSaver [1]XScreenOfDisplay [1]XcmsTekHVCClipV [1]XwcDrawImageString [1]
XFree [1]XScreenResourceString [1]XcmsTekHVCClipVC [1]XwcDrawString [1]
XFreeColormap [1]XSelectInput [1]XcmsTekHVCQueryMaxC [1]XwcDrawText [1]
XFreeColors [1]XSendEvent [1]XcmsTekHVCQueryMaxV [1]XwcFreeStringList [1]
XFreeCursor [1]XServerVendor [1]XcmsTekHVCQueryMaxVC [1]XwcLookupString [1]
XFreeExtensionList [1]XSetAccessControl [1]XcmsTekHVCQueryMaxVSamples [1]XwcResetIC [1]
XFreeFont [1]XSetArcMode [1]XcmsTekHVCQueryMinV [1]XwcTextEscapement [1]
XFreeFontInfo [1]XSetAuthorization [1]XcmsTekHVCToCIEuvY [1]XwcTextExtents [1]
XFreeFontNames [1]XSetBackground [1]XcmsTekHVCWhiteShiftColors [1]XwcTextListToTextProperty [1]
XFreeFontPath [1]XSetClassHint [1]XcmsVisualOfCCC [1]XwcTextPerCharExtents [1]
XFreeFontSet [1]XSetClipMask [1]XkbAllocClientMap [1]XwcTextPropertyToTextList [1]
XFreeGC [1]XSetClipOrigin [1]XkbAllocCompatMap [1] 
XFreeModifiermap [1]XSetClipRectangles [1]XkbAllocControls [1] 

Referenced Specification(s)

An LSB conforming implementation shall provide the generic data interfaces for X Windows System Interface specified in Table 1-3, with the full mandatory functionality as described in the referenced underlying specification.

Table 1-3. libX11 - X Windows System Interface Data Interfaces

XSetAfterFunction [1]XSynchronize [1]  

Referenced Specification(s)