1 /* $Id: $ */
2 
3 /* Copyright (C) 1997 Sverre Hvammen Johansen,
4  * Department of Informatics, University of Oslo.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 
20 #include "cim.h"
21 #include "simfile.h"
22 
23 /******************************************************************************
24                                          PROCEDURE OUTTEXT(t)                */
25 
26 __dhp
__rdbouttext(p,t)27 __rdbouttext (p, t)
28      __bs10FILE *p;
29      __txtvp t;
30 {
31   __rtsetpos (t, 1L);
32   while (__rtmore (t))
33     __rdboutbyte (p, (long) __rtgetchar (t));
34   return ((__dhp) p);
35 }
36 
37