ilnw.c File Reference

#include "f2c.h"
#include "fio.h"
#include "lio.h"

Include dependency graph for ilnw.c:

Go to the source code of this file.

Functions

void z_putc (int)
static int z_wSL (Void)
static void c_liw (icilist *a)
integer s_wsni (icilist *a)
integer s_wsli (icilist *a)
integer e_wsli (Void)

Variables

char * f__icptr
char * f__icend
icilistf__svic
int f__icnum


Function Documentation

static void c_liw ( icilist a  )  [static]

Definition at line 29 of file ilnw.c.

References a, f__cf, f__cursor, f__curunit, f__donewrec, f__elist, f__external, f__formatted, f__putn, f__reading, f__recpos, f__svic, L_len, z_putc(), and z_wSL().

Referenced by s_wsli(), and s_wsni().

00031 {
00032         f__reading = 0;
00033         f__external = 0;
00034         f__formatted = 1;
00035         f__putn = z_putc;
00036         L_len = a->icirlen;
00037         f__donewrec = z_wSL;
00038         f__svic = a;
00039         f__icnum = f__recpos = 0;
00040         f__cursor = 0;
00041         f__cf = 0;
00042         f__curunit = 0;
00043         f__icptr = a->iciunit;
00044         f__icend = f__icptr + a->icirlen*a->icirnum;
00045         f__elist = (cilist *)a;
00046         }

Here is the call graph for this function:

Here is the caller graph for this function:

integer e_wsli ( Void   ) 

Definition at line 76 of file ilnw.c.

References z_wSL().

00077 {
00078         z_wSL();
00079         return(0);
00080         }

Here is the call graph for this function:

integer s_wsli ( icilist a  ) 

Definition at line 68 of file ilnw.c.

References a, c_liw(), f__lioproc, and l_write().

00070 {
00071         f__lioproc = l_write;
00072         c_liw(a);
00073         return(0);
00074         }

Here is the call graph for this function:

integer s_wsni ( icilist a  ) 

Definition at line 52 of file ilnw.c.

References a, c_liw(), cilist::cifmt, x_wsne(), and z_wSL().

00054 {
00055         cilist ca;
00056 
00057         c_liw(a);
00058         ca.cifmt = a->icifmt;
00059         x_wsne(&ca);
00060         z_wSL();
00061         return 0;
00062         }

Here is the call graph for this function:

void z_putc ( int   ) 

Definition at line 26 of file iio.c.

References f__recpos, f__svic, and icilist::icirlen.

Referenced by c_liw(), s_wsfi(), and z_wSL().

00028 {
00029         if (f__icptr < f__icend && f__recpos++ < f__svic->icirlen)
00030                 *f__icptr++ = c;
00031 }

Here is the caller graph for this function:

static int z_wSL ( Void   )  [static]

Definition at line 18 of file ilnw.c.

References z_putc(), and z_rnew().

Referenced by c_liw(), e_wsli(), and s_wsni().

00019 {
00020         while(f__recpos < f__svic->icirlen)
00021                 z_putc(' ');
00022         return z_rnew();
00023         }

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

char* f__icend

Definition at line 8 of file iio.c.

int f__icnum

Definition at line 10 of file iio.c.

char* f__icptr

Definition at line 47 of file err.c.

icilist* f__svic

Definition at line 24 of file err.c.


Generated on Sun Mar 4 15:04:48 2007 for Scilab [trunk] by  doxygen 1.5.1