Files
Arquivotheca.SunOS-4.1.4/usr.lib/libsunwindow/win/win_getscr.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

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;
}