Close a VAR file previously opened for writing.
Synopsis
EIF_close_write_var ( lu, iarray, ibase, elemType);
Input Parameters
int lu; int *iarray; int *ibase; int elemType;
Output Parameters
None.
Return
None
Arguments
lu |
Logic unit for the VAR
file. |
iarray |
Buffer to contain info
for writing |
ibase |
Displacement inside the
buffer |
elemType |
The type of the element to write |
Include Files
EIF_lib.h, EIF_std.h
Description
Close the logic unit specified as parameter.
Example
#include <string.h> #include <stdio.h> #include "EIF_std.h" #include "EIF_lib.h" ... int lu, ibase, elemType, iarray[1024]; ... if( lu > 0 ) { elemType = 1; // This indicates NUMERIC variables ... EIF_close_write_var ( lu, iarray, ibase, elemType ); } ...
Related Routines