Pristine Ack-5.5
[Ack-5.5.git] / modules / src / print / doprnt.c
1 /*
2  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3  * See the copyright notice in the ACK home directory, in the file "Copyright".
4  */
5 /* $Id: doprnt.c,v 1.8 1994/06/24 11:20:11 ceriel Exp $ */
6
7 #include <system.h>
8 #include "print.h"
9 #include "param.h"
10
11 /*FORMAT1 $
12         %s = char *
13         %l = long
14         %c = int
15         %[uxbo] = unsigned int
16         %d = int
17 $ */
18 void
19 doprnt(fp, fmt, argp)
20         File *fp;
21         char *fmt;
22         va_list argp;
23 {
24         char buf[SSIZE];
25
26         sys_write(fp, buf, _format(buf, fmt, argp));
27 }