36 lines
684 B
C
36 lines
684 B
C
#ifndef lint
|
|
#ifdef sccs
|
|
static char sccsid[] = "@(#)win_getscr.c 1.1 94/10/31 Copyr 1983 Sun Micro";
|
|
#endif
|
|
#endif
|
|
|
|
/*
|
|
* Copyright (c) 1983 by Sun Microsystems, Inc.
|
|
*/
|
|
|
|
/*
|
|
* Win_getscr.c: Implement win_getscreen.
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/time.h>
|
|
#include <sys/ioctl.h>
|
|
#include <sunwindow/rect.h>
|
|
#include <sunwindow/cms.h>
|
|
#include <sunwindow/win_screen.h>
|
|
#include <sunwindow/win_input.h>
|
|
#include <sunwindow/win_ioctl.h>
|
|
#include <sunwindow/win_struct.h>
|
|
|
|
/*
|
|
* Screen creation, inquiry and deletion.
|
|
*/
|
|
win_screenget(windowfd, screen)
|
|
int windowfd;
|
|
struct screen *screen;
|
|
{
|
|
(void)werror(ioctl(windowfd, WINSCREENGET, screen), WINSCREENGET);
|
|
return;
|
|
}
|
|
|