#include "f2c.h"#include "fio.h"#include "fmt.h"Include dependency graph for wsfe.c:

Go to the source code of this file.
Functions | |
| int | x_wSL (Void) |
| static int | xw_end (Void) |
| static int | xw_rev (Void) |
| integer | s_wsfe (cilist *a) |
Definition at line 47 of file wsfe.c.
References a, c_sfe(), err, errno, f__cblank, f__cf, f__cplus, f__cursor, f__curunit, f__doed, f__doend, f__doned, f__donewrec, f__dorevert, f__elist, f__external, f__fmtbuf, f__formatted, f__hiwater, f__init, f__nonl, f__nowwriting(), f__putn, f__reading, f__recpos, f__scale, f__sequential, f_init(), fmt_bg(), n, pars_f(), unit::ublnk, unit::ufd, unit::uwrt, w_ed(), w_ned(), x_putc(), x_wSL, xw_end(), and xw_rev().
Referenced by writef4().
00049 { int n; 00050 if(!f__init) f_init(); 00051 f__reading=0; 00052 f__sequential=1; 00053 f__formatted=1; 00054 f__external=1; 00055 if(n=c_sfe(a)) return(n); 00056 f__elist=a; 00057 f__hiwater = f__cursor=f__recpos=0; 00058 f__nonl = 0; 00059 f__scale=0; 00060 f__fmtbuf=a->cifmt; 00061 f__cf=f__curunit->ufd; 00062 if(pars_f(f__fmtbuf)<0) err(a->cierr,100,"startio"); 00063 f__putn= x_putc; 00064 f__doed= w_ed; 00065 f__doned= w_ned; 00066 f__doend=xw_end; 00067 f__dorevert=xw_rev; 00068 f__donewrec=x_wSL; 00069 fmt_bg(); 00070 f__cplus=0; 00071 f__cblank=f__curunit->ublnk; 00072 if(f__curunit->uwrt != 1 && f__nowwriting(f__curunit)) 00073 err(a->cierr,errno,"write start"); 00074 return(0); 00075 }
Here is the call graph for this function:

Here is the caller graph for this function:

| int x_wSL | ( | Void | ) |
Definition at line 10 of file wsfe.c.
References f__cursor, f__hiwater, f__putbuf(), f__recpos, and n.
00011 { 00012 int n = f__putbuf('\n'); 00013 f__hiwater = f__recpos = f__cursor = 0; 00014 return(n == 0); 00015 }
Here is the call graph for this function:

| static int xw_end | ( | Void | ) | [static] |
Definition at line 18 of file wsfe.c.
References f__cf, f__cursor, f__hiwater, f__nonl, f__putbuf(), f__recpos, and n.
Referenced by s_wsfe().
00019 { 00020 int n; 00021 00022 if(f__nonl) { 00023 f__putbuf(n = 0); 00024 fflush(f__cf); 00025 } 00026 else 00027 n = f__putbuf('\n'); 00028 f__hiwater = f__recpos = f__cursor = 0; 00029 return n; 00030 }
Here is the call graph for this function:

Here is the caller graph for this function:

| static int xw_rev | ( | Void | ) | [static] |
Definition at line 33 of file wsfe.c.
References f__cursor, f__hiwater, f__putbuf(), f__recpos, f__workdone, and n.
Referenced by s_wsfe().
00034 { 00035 int n = 0; 00036 if(f__workdone) { 00037 n = f__putbuf('\n'); 00038 f__workdone = 0; 00039 } 00040 f__hiwater = f__recpos = f__cursor = 0; 00041 return n; 00042 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1