Go to the first, previous, next, last section, table of contents.


calopen

int calopen(char *file)

Return:

0
Success
-1
Failure: insufficient memory for calibration list
-2
Failure: unable to open calibration file

This function reads the specified calibration file (which must be located in one of the directories specified by DB, see section The Database Path) into the calibration list. If file is NULL, the file named by DBCAL is read. Normally, the current contents of the calibration list are discarded before reading the calibration file; if file begins with `+', however, the `+' is stripped from the file name and the contents of the file are appended to the current calibration list. If file is `-', calopen reads the standard input rather than a calibration file. (This function was first introduced in DB library version 6.0.)


Go to the first, previous, next, last section, table of contents.



George B. Moody (george@hstbme.mit.edu)