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 /* function strbuf(var b:charbuf):string; */
21 char *strbuf(s
) char *s
; {
25 /* function strtobuf(s:string; var b:charbuf; blen:integer):integer; */
27 int strtobuf(s
,b
,l
) char *s
,*b
; {
32 if ((*b
++ = *s
++) == 0)
39 /* function strlen(s:string):integer; */
41 int strlen(s
) char *s
; {
50 /* function strfetch(s:string; i:integer):char; */
52 int strfetch(s
,i
) char *s
; {
56 /* procedure strstore(s:string; i:integer; c:char); */
58 strstore(s
,i
,c
) char *s
; {