date and time created 83/06/27 14:26:20 by sam
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 28 Jun 1983 05:26:20 +0000 (21:26 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 28 Jun 1983 05:26:20 +0000 (21:26 -0800)
SCCS-vsn: lib/libplot/vt0/point.c 4.1

usr/src/lib/libplot/vt0/point.c [new file with mode: 0644]

diff --git a/usr/src/lib/libplot/vt0/point.c b/usr/src/lib/libplot/vt0/point.c
new file mode 100644 (file)
index 0000000..0da9056
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef lint
+static char sccsid[] = "@(#)point.c    4.1 (Berkeley) %G%";
+#endif
+
+extern vti;
+extern xnow,ynow;
+point(xi,yi){
+       struct {char pad,c; int x,y;} p;
+       p.c = 2;
+       p.x = xnow = xsc(xi);
+       p.y = ynow =  ysc(yi);
+       write(vti,&p.c,5);
+}