Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

ilnw.c File Reference

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

Go to the source code of this file.


Functions

int z_putc (int)
int z_wSL (Void)
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

VOID c_liw icilist   a
 

Definition at line 26 of file ilnw.c.

References a, f__icend, f__icnum, f__icptr, and z_wSL().

Referenced by s_wsli(), and s_wsni().

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

integer e_wsli Void   
 

Definition at line 73 of file ilnw.c.

References z_wSL().

00074 {
00075         z_wSL();
00076         return(0);
00077         }

integer s_wsli icilist   a
 

Definition at line 65 of file ilnw.c.

References a, and c_liw().

00067 {
00068         f__lioproc = l_write;
00069         c_liw(a);
00070         return(0);
00071         }

integer s_wsni icilist   a
 

Definition at line 49 of file ilnw.c.

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

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

int z_putc int   
 

Definition at line 20 of file iio.c.

References c, err, f__icend, f__icptr, icilist::icierr, and icilist::icirlen.

Referenced by s_wsfi(), and z_wSL().

00022 {
00023         if(f__icptr >= f__icend) err(f__svic->icierr,110,"inwrite");
00024         if(f__recpos++ < f__svic->icirlen)
00025                 *f__icptr++ = c;
00026         else    err(f__svic->icierr,110,"recend");
00027         return 0;
00028 }

int z_wSL Void    [static]
 

Definition at line 15 of file ilnw.c.

References icilist::icirlen, z_putc(), and z_rnew().

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

00016 {
00017         while(f__recpos < f__svic->icirlen)
00018                 z_putc(' ');
00019         return z_rnew();
00020         }

Variable Documentation

char* f__icend
 

Definition at line 5 of file ilnw.c.

Referenced by c_liw().

int f__icnum
 

Definition at line 7 of file ilnw.c.

Referenced by c_liw().

char* f__icptr
 

Definition at line 4 of file ilnw.c.

Referenced by c_liw().

icilist* f__svic
 

Definition at line 6 of file ilnw.c.

 

Powered by Plone

This site conforms to the following standards: