/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*LINTLIBRARY*/
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <plot.h>
#include "con.h"
int
{
/*
* x position input is -2047 to +2047,
* output must be 0 to PAGSIZ*HORZRES
*/
xp += 2048;
/* the computation is newx = xp*(PAGSIZ*HORZRES)/4096 */
}
int
{
/* see description of xconv */
yp += 2048;
}
void
inplot(void)
{
}
void
outplot(void)
{
}
void
{
}
}
void
tobotleft(void)
{
}
void
reset(void)
{
outplot();
_exit(0);
}
float
{
float t, v;
return (t * t + v * v);
}
void
{
int t;
t = *pa;
*pb = t;
}
void
{
int i;
char ch;
return;
/* if we need to go to left margin, just CR */
xnow = 0;
}
i = abs(i);
while (i--)
inplot();
while (i--)
outplot();
i = abs(i);
while (i--)
inplot();
while (i--)
outplot();
}
int
{
int xa;
return (xa);
}
int
{
int ya;
return (ya);
}