vga_getcardinfo man page on aLinux

Man page or keyword search:  
man Server   7435 pages
apropos Keyword Search (all sections)
Output format
aLinux logo
[printable version]

vga_getcardinfo(3)	      Svgalib User Manual	    vga_getcardinfo(3)

NAME
       vga_getcardinfo - returns pointer to information about the video card.

SYNOPSIS
       #include <vga.h>

       vga_cardinfo *vga_getcardinfo(void);

DESCRIPTION
       The function returns a pointer to a card information structure which is
       filled out with details about the video card in use.

       #include <vga.h> defines vga_cardinfo as

       typedef struct {
	    int version;
	    int size;
	    int chipset;
	    int physmem;
	    int physmemsize;
	    int linearmem;
       } vga_cardinfo;

       The fields meaning in detail:

   Basic mode details
       version
	      Version of the information structure. Application can  use  this
	      field to make sure the data it needs is really there.

       size   Size of the cardinfo structure. The structure is malloc()ed, and
	      the program should free it when no longer needed.

       chipset
	      Number of the chispet driver used to drive the card.  Same  list
	      as is used in the vga_setchipset function.

       physmem
	      Physical address of the linear memory aperture of the card. This
	      is needed for example for	 setting  the  video  overlay  of  v4l
	      devices.

       physmemsize
	      Amount of physical memory in bytes. (Version >= 0x0200)

       linearmem
	      Virtual  address of the linear memory aperture. Please note that
	      currently it is mapped at vga_init, but in  future  versions  of
	      svgalib this might change.  (Version >= 0x0200)

SEE ALSO
       svgalib(7), libvga.config(5),

AUTHOR
       This manual page written by Matan Ziv-Av <matan@svgalib.org>.

Svgalib (>= 1.9.10)		 23 June 2001		    vga_getcardinfo(3)
[top]

List of man pages available for aLinux

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