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  

wsle.c File Reference

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

Go to the source code of this file.


Functions

integer s_wsle (cilist *a)
integer e_wsle (Void)

Function Documentation

integer e_wsle Void   
 

Definition at line 26 of file wsle.c.

References err, and t_putc().

00027 {
00028         t_putc('\n');
00029         f__recpos=0;
00030 #ifdef ALWAYS_FLUSH
00031         if (fflush(f__cf))
00032                 err(f__elist->cierr, errno, "write end");
00033 #else
00034         if (f__cf == stdout)
00035                 fflush(stdout);
00036         else if (f__cf == stderr)
00037                 fflush(stderr);
00038 #endif
00039         return(0);
00040         }

integer s_wsle cilist   a
 

Definition at line 9 of file wsle.c.

References a, c_le(), err, f__nowwriting(), and LINE.

00011 {
00012         int n;
00013         if(n=c_le(a)) return(n);
00014         f__reading=0;
00015         f__external=1;
00016         f__formatted=1;
00017         f__putn = t_putc;
00018         f__lioproc = l_write;
00019         L_len = LINE;
00020         f__donewrec = x_wSL;
00021         if(f__curunit->uwrt != 1 && f__nowwriting(f__curunit))
00022                 err(a->cierr, errno, "list output start");
00023         return(0);
00024         }
 

Powered by Plone

This site conforms to the following standards: