source: vendor/gcc/3.3.4/libf2c/libI77/wsle.c

Last change on this file was 1391, checked in by bird, 21 years ago

GCC v3.3.3 sources.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 657 bytes
Line 
1#include "config.h"
2#include "f2c.h"
3#include "fio.h"
4#include "fmt.h"
5#include "lio.h"
6#include "string.h"
7
8integer
9s_wsle (cilist * a)
10{
11 int n;
12 if ((n = c_le (a)))
13 return (n);
14 f__reading = 0;
15 f__external = 1;
16 f__formatted = 1;
17 f__putn = x_putc;
18 f__lioproc = l_write;
19 L_len = LINE;
20 f__donewrec = x_wSL;
21 if (f__curunit->uwrt != 1 && f__nowwriting (f__curunit))
22 err (a->cierr, errno, "list output start");
23 return (0);
24}
25
26integer
27e_wsle (void)
28{
29 int n;
30 f__init = 1;
31 n = f__putbuf ('\n');
32 f__recpos = 0;
33#ifdef ALWAYS_FLUSH
34 if (!n && fflush (f__cf))
35 err (f__elist->cierr, errno, "write end");
36#endif
37 return (n);
38}
Note: See TracBrowser for help on using the repository browser.