XScreenNumberOfScreen man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XScreen()							     XScreen()

Name
  XScreenCount,	  XScreenNumberOfScreen,  XScreenOfDisplay,  ScreenCount,
  ScreenNumberOfScreen, ScreenOfDisplay – get screen information.

Synopsis
  int XScreenCount(display)
	   Display *display;
  int XScreenNumberOfScreen(screen)
	   Screen *screen;
  Screen *XScreenOfDisplay(display, screen_number)
	   Display *display;
	   int screen_number;

Arguments
  display   Specifies  a  connection  to  an  X	 server;  returned   from
	    XOpenDisplay().

  screen    Specifies the appropriate Screen structure.

  screen_number
	    Specifies the appropriate screen number on the host server.

Returns
  The number of screens, a screen number, or a Screen structure.

Description
  XScreenCount()  returns the number of screens on the specified display.
  XScreenNumberOfScreen() returns a screen number given a  pointer  to	a
  Screen  structure.   XScreenOfDisplay()  returns  pointer  to	 a Screen
  structure  given  the	 screen	 number.    XScreenNumberOfScreen()   and
  XScreenOfDisplay() are opposites.

  The	C  language  macros  ScreenCount(),  ScreenNumberOfScreen(),  and
  ScreenOfDisplay() are equivalent and slightly more efficient.

See Also
  XDefaultScreenOfDisplay(), XDefaultScreen*().

Xlib - Macro Equivalents					     XScreen()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net