3 * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
5 * This product is part of the Amsterdam Compiler Kit.
7 * Permission to use, sell, duplicate or disclose this software must be
8 * obtained in writing. Requests for such permissions may be sent to
10 * Dr. Andrew S. Tanenbaum
11 * Wiskundig Seminarium
19 /* Author: J.W. Stevenson */
27 _wstrin(width
,len
,buf
,f
) int width
,len
; char *buf
; struct file
*f
; {
30 for (width
-= len
; width
>0; width
--) {
40 _wsc(w
,c
,f
) int w
; char c
; struct file
*f
; {
42 if (w
< 0) _trp(EWIDTH
);
46 _wss(w
,len
,s
,f
) int w
,len
; char *s
; struct file
*f
; {
48 if (w
< 0 || len
< 0) _trp(EWIDTH
);
54 _wrs(len
,s
,f
) int len
; char *s
; struct file
*f
; {
55 if (len
< 0) _trp(EWIDTH
);
59 _wsb(w
,b
,f
) int w
,b
; struct file
*f
; {
66 _wrb(b
,f
) int b
; struct file
*f
; {