fileio.c File Reference

#include <../../nrnconf.h>
#include <stdio.h>
#include <stdlib.h>
#include "hoc.h"
#include "hocstr.h"
#include "hoclist.h"
#include "parse.h"
#include <setjmp.h>
#include <errno.h>
Include dependency graph for fileio.c:
This graph shows which files directly or indirectly include this file:

Defines

#define oc_popen   popen
#define oc_pclose   pclose

Functions

double chkarg ()
char ** hoc_pgargstr ()
char * expand_env_var ()
int hoc_stdout ()
int ropen ()
int wopen ()
char * expand_env_var (char *s)
char * hoc_current_xopen ()
int hoc_xopen1 (char *fname, char *rcs)
 xopen ()
 Fprint ()
 PRintf ()
 hoc_Sprint ()
double hoc_scan (FILE *fi)
int Fscan ()
int hoc_Getstr ()
int sprint (char **ppbuf, int argn)
 hoc_load_java ()
 hoc_load_proc ()
 hoc_load_func ()
 hoc_load_template ()
 hoc_load_file ()
 hoc_Load_file (int always, char *name)
 hoc_getcwd ()
 machine_name ()
int hoc_chdir (char *path)
 hoc_Chdir ()

Variables

FILE * fin
int pipeflag
jmp_buf begin
double hoc_ac_
char * neuron_home
FILE * frin
FILE * fout
char hoc_xopen_file_ [200]
Pfri p_hoc_load_java

Define Documentation

#define oc_pclose   pclose
#define oc_popen   popen

Function Documentation

double chkarg (  ) 
char* expand_env_var ( char*  s  ) 

References begin, buf, HocStr::buf, getenv(), hocstr_create(), hocstr_resize(), n, and neuron_home.

Here is the call graph for this function:

char* expand_env_var (  ) 
Fprint (  ) 

References buf, d, fout, fprintf(), pushx, ret, and sprint.

Here is the call graph for this function:

int Fscan (  ) 

References d, fin, frin, hoc_scan(), pushx, and ret.

Here is the call graph for this function:

hoc_Chdir (  ) 

References gargstr(), hoc_chdir(), i, pushx, and ret.

Here is the call graph for this function:

int hoc_chdir ( char*  path  ) 

References expand_env_var().

Referenced by hoc_Chdir(), and hoc_Load_file().

Here is the call graph for this function:

char* hoc_current_xopen (  ) 
hoc_getcwd (  ) 

References emalloc, hoc_back2forward(), hoc_execerror(), hoc_pushstr(), and hoc_ret().

Here is the call graph for this function:

int hoc_Getstr (  ) 

References HocStr::buf, buf, chkarg(), execerror, fgets_unlimited(), fin, frin, hoc_assign_str(), hoc_pgargstr(), hoc_tmpbuf, ifarg(), int, pushx, and ret.

Here is the call graph for this function:

hoc_Load_file ( int  always,
char*  name 
)

References b, expand_env_var(), getenv(), hoc_ac_, hoc_chdir(), hoc_l_lappendstr(), hoc_l_newlist(), hoc_oc(), hoc_warning(), i, int, ITERATE, and STR.

Referenced by hoc_load_file().

Here is the call graph for this function:

hoc_load_file (  ) 

References chkarg(), gargstr(), hoc_is_double_arg(), hoc_Load_file(), hoc_lookup(), i, ifarg(), int, pushx, and ret.

Here is the call graph for this function:

hoc_load_func (  ) 

References pushx, and ret.

hoc_load_java (  ) 

References pushx, and ret.

hoc_load_proc (  ) 

References pushx, and ret.

hoc_load_template (  ) 

References pushx, and ret.

char** hoc_pgargstr (  ) 
double hoc_scan ( FILE*  fi  ) 

References d, and execerror.

Referenced by Fscan().

hoc_Sprint (  ) 

References buf, hoc_assign_str(), hoc_pgargstr(), pushx, ret, and sprint.

Here is the call graph for this function:

int hoc_stdout (  ) 

References gargstr(), hoc_execerror(), hoc_redir_stdout, i, ifarg(), prev(), pushx, and ret.

Here is the call graph for this function:

int hoc_xopen1 ( char*  fname,
char*  rcs 
)
machine_name (  ) 

References hoc_assign_str(), hoc_pgargstr(), pushx, and ret.

Here is the call graph for this function:

PRintf (  ) 

References buf, d, int, NOT_PARALLEL_SUB, plprint(), pushx, ret, and sprint.

Here is the call graph for this function:

int ropen (  ) 

References d, expand_env_var(), frin, gargstr(), ifarg(), IGNORE, pushx, and ret.

Here is the call graph for this function:

int sprint ( char**  ppbuf,
int  argn 
)
int wopen (  ) 

References d, ERRCHK, expand_env_var(), fout, gargstr(), ifarg(), IGNORE, pushx, and ret.

Here is the call graph for this function:

xopen (  ) 

References gargstr(), hoc_xopen1(), ifarg(), pushx, and ret.

Here is the call graph for this function:


Variable Documentation

jmp_buf begin
FILE* fin
FILE* fout
FILE* frin
double hoc_ac_
char hoc_xopen_file_[200]
char* neuron_home
Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3