hpux man page for xinternatom

Query: xinternatom

OS: hpux

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XInternAtom(3X) 						  XLIB FUNCTIONS						   XInternAtom(3X)

NAME
XInternAtom - returns atom identifier
SYNTAX
Atom XInternAtom(display, atom_name, only_if_exists) Display *display; char *atom_name; Bool only_if_exists;
ARGUMENTS
display Specifies the connection to the X server. atom_name Specifies the name associated with the atom you want returned. only_if_exists Specifies a Boolean value that indicates whether the atom must be created.
DESCRIPTION
The XInternAtom function returns the atom identifier associated with the specified atom_name string. If only_if_exists is False, the atom is created if it does not exist. Therefore, XInternAtom can return None. If the atom name is not in the Host Portable Character Encoding, the result is implementation dependent. Uppercase and lowercase matter; the strings ``thing'', ``Thing'', and ``thinG'' all designate dif- ferent atoms. The atom will remain defined even after the client's connection closes. It will become undefined only when the last connec- tion to the X server closes. XInternAtom can generate BadAlloc and BadValue errors.
DIAGNOSTICS
BadAlloc The server failed to allocate the requested resource or server memory. BadAtom A value for an Atom argument does not name a defined Atom. BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argu- ment, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this error.
SEE ALSO
XInternAtoms(3X), XGetAtomName(3X), XGetAtomNames(3X) X Version 11 Release 6 XInternAtom(3X)
Related Man Pages
xinternatoms(3x11) - redhat
xinternatom(3x11) - redhat
xgetatomname(3) - debian
xgetatomname(3) - centos
xinternatoms(3) - centos
Similar Topics in the Unix Linux Community
xlib: allow overlay of other windows in full-screen
cannot create window on right place using XCreateSimpleWindow
Xlib registering
[xlib] Image has just 1/4 size
Simple capturing of keyboard input without interruption