Last change
on this file was 2, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
668 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 |
|
---|
8 | #ifdef KR_headers
|
---|
9 | integer s_wsle(a) cilist *a;
|
---|
10 | #else
|
---|
11 | integer s_wsle(cilist *a)
|
---|
12 | #endif
|
---|
13 | {
|
---|
14 | int n;
|
---|
15 | if(n=c_le(a)) return(n);
|
---|
16 | f__reading=0;
|
---|
17 | f__external=1;
|
---|
18 | f__formatted=1;
|
---|
19 | f__putn = x_putc;
|
---|
20 | f__lioproc = l_write;
|
---|
21 | L_len = LINE;
|
---|
22 | f__donewrec = x_wSL;
|
---|
23 | if(f__curunit->uwrt != 1 && f__nowwriting(f__curunit))
|
---|
24 | err(a->cierr, errno, "list output start");
|
---|
25 | return(0);
|
---|
26 | }
|
---|
27 |
|
---|
28 | integer e_wsle(Void)
|
---|
29 | {
|
---|
30 | int n;
|
---|
31 | f__init = 1;
|
---|
32 | n = f__putbuf('\n');
|
---|
33 | f__recpos=0;
|
---|
34 | #ifdef ALWAYS_FLUSH
|
---|
35 | if (!n && fflush(f__cf))
|
---|
36 | err(f__elist->cierr, errno, "write end");
|
---|
37 | #endif
|
---|
38 | return(n);
|
---|
39 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.