BSD 4_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Tue, 3 May 1983 06:48:46 +0000 (22:48 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Tue, 3 May 1983 06:48:46 +0000 (22:48 -0800)
Work on file usr/src/include/varargs.h
Work on file usr/src/include/vfont.h

Synthesized-from: CSRG/cd1/4.2

usr/src/include/varargs.h [new file with mode: 0644]
usr/src/include/vfont.h [new file with mode: 0644]

diff --git a/usr/src/include/varargs.h b/usr/src/include/varargs.h
new file mode 100644 (file)
index 0000000..3a081f5
--- /dev/null
@@ -0,0 +1,7 @@
+/*     varargs.h       4.1     83/05/03        */
+
+typedef char *va_list;
+# define va_dcl int va_alist;
+# define va_start(list) list = (char *) &va_alist
+# define va_end(list)
+# define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]
diff --git a/usr/src/include/vfont.h b/usr/src/include/vfont.h
new file mode 100644 (file)
index 0000000..87a4b19
--- /dev/null
@@ -0,0 +1,21 @@
+/*     vfont.h 4.1     83/05/03        */
+
+/*
+ * The structures header and dispatch define the format of a font file.
+ *
+ * See vfont(5) for more details.
+ */
+struct header {
+       short magic;
+       unsigned short size;
+       short maxx;
+       short maxy;
+       short xtend;
+}; 
+
+struct dispatch {
+       unsigned short addr;
+       short nbytes;
+       char up,down,left,right;
+       short width;
+};