WGETSCREEN(3W)
NAME
wgetscreen − get screen information.
SYNOPSIS
int wgetscreen(wmfd,w,h,b,cmapent,sfkh);
int wmfd;
int *w,*h,*b,*cmapent,*sfkh;
DESCRIPTION
wmfd
is an integer file descriptor for an opened window manager device interface.
w,h are pointers to the pixel width and height of the screen.
b is a pointer to the number of bytes/pixel.
cmapent
is a pointer to the number of color map entries. Black and white has only two.
sfkh is a pointer to the height of the softkeys in pixels.
DISCUSSION
Returns the screen information associated with the specified window manager device indicated by wmfd.
SEE ALSO
wgetbcoords(3W),wgetcoords(3W).
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — May 11, 2021