OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [expect/] [exp_closetcl.c] - Rev 1782

Compare with Previous | Blame | View Log

/* exp_closetcl.c - close tcl files */
 
/* isolated in it's own file since it has hooks into Tcl and exp_clib user */
/* might like to avoid dragging it in */
 
#include "expect_cf.h"
#include "tclInt.h"
 
void (*exp_close_in_child)() = 0;
 
void
exp_close_tcl_files() {
	int i;
 
	/* So much for close-on-exec.  Tcl doesn't mark its files that way */
	/* everything has to be closed explicitly. */
 
#if 0
/* Not necessary with Tcl 7.5? */
	for (i=3; i<tclNumFiles;i++) close(i);
#endif
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.