2003-04-01 01:59:04 +08:00
|
|
|
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
2007-02-07 22:56:24 +08:00
|
|
|
|
* Copyright by The HDF Group. *
|
2003-04-01 01:59:04 +08:00
|
|
|
|
* Copyright by the Board of Trustees of the University of Illinois. *
|
|
|
|
|
* All rights reserved. *
|
|
|
|
|
* *
|
|
|
|
|
* This file is part of HDF5. The full HDF5 copyright notice, including *
|
|
|
|
|
* terms governing use, modification, and redistribution, is contained in *
|
2017-04-15 00:54:16 +08:00
|
|
|
|
* the COPYING file, which can be found at the root of the source code *
|
|
|
|
|
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
|
|
|
|
|
* If you do not have access to either file, you may request a copy from *
|
|
|
|
|
* help@hdfgroup.org. *
|
2003-04-01 01:59:04 +08:00
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
2000-10-20 00:42:33 +08:00
|
|
|
|
|
|
|
|
|
/***********************************************************
|
|
|
|
|
*
|
|
|
|
|
* Test program: ttime
|
|
|
|
|
*
|
|
|
|
|
* Test the Time Datatype functionality
|
|
|
|
|
*
|
|
|
|
|
*************************************************************/
|
|
|
|
|
|
2001-04-04 02:09:16 +08:00
|
|
|
|
#include "testhdf5.h"
|
2000-10-20 00:42:33 +08:00
|
|
|
|
|
2001-04-04 02:09:16 +08:00
|
|
|
|
#include "hdf5.h"
|
2000-10-20 00:42:33 +08:00
|
|
|
|
|
2001-04-01 11:25:53 +08:00
|
|
|
|
#define DATAFILE "ttime.h5"
|
2014-03-16 11:13:52 +08:00
|
|
|
|
#ifdef NOT_YET
|
2003-06-25 04:06:37 +08:00
|
|
|
|
#define DATASETNAME "Dataset"
|
2014-03-16 11:13:52 +08:00
|
|
|
|
#endif /* NOT_YET */
|
2000-10-20 00:42:33 +08:00
|
|
|
|
|
|
|
|
|
/****************************************************************
|
|
|
|
|
**
|
2003-06-25 04:06:37 +08:00
|
|
|
|
** test_time_commit(): Test committing time datatypes to a file
|
|
|
|
|
**
|
2000-10-20 00:42:33 +08:00
|
|
|
|
****************************************************************/
|
2003-06-25 04:06:37 +08:00
|
|
|
|
static void
|
|
|
|
|
test_time_commit(void)
|
2000-10-20 00:42:33 +08:00
|
|
|
|
{
|
|
|
|
|
hid_t file_id, tid; /* identifiers */
|
|
|
|
|
herr_t status;
|
|
|
|
|
|
|
|
|
|
/* Output message about test being performed */
|
2003-06-25 04:06:37 +08:00
|
|
|
|
MESSAGE(5, ("Testing Committing Time Datatypes\n"));
|
2000-10-20 00:42:33 +08:00
|
|
|
|
|
|
|
|
|
/* Create a new file using default properties. */
|
2001-04-01 11:25:53 +08:00
|
|
|
|
file_id = H5Fcreate(DATAFILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
|
2000-10-20 00:42:33 +08:00
|
|
|
|
CHECK(file_id, FAIL, "H5Fcreate");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2000-10-20 00:42:33 +08:00
|
|
|
|
tid = H5Tcopy (H5T_UNIX_D32LE);
|
|
|
|
|
CHECK(tid, FAIL, "H5Tcopy");
|
[svn-r14156] Description:
Add API versioning to H5Tcommit()
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-26 10:50:31 +08:00
|
|
|
|
status = H5Tcommit2(file_id, "Committed D32LE type", tid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
|
|
|
|
CHECK(status, FAIL, "H5Tcommit2");
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
|
|
|
|
tid = H5Tcopy (H5T_UNIX_D32BE);
|
|
|
|
|
CHECK(tid, FAIL, "H5Tcopy");
|
[svn-r14156] Description:
Add API versioning to H5Tcommit()
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-26 10:50:31 +08:00
|
|
|
|
status = H5Tcommit2(file_id, "Committed D32BE type", tid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
|
|
|
|
CHECK(status, FAIL, "H5Tcommit2");
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
|
|
|
|
tid = H5Tcopy (H5T_UNIX_D64LE);
|
|
|
|
|
CHECK(tid, FAIL, "H5Tcopy");
|
[svn-r14156] Description:
Add API versioning to H5Tcommit()
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-26 10:50:31 +08:00
|
|
|
|
status = H5Tcommit2(file_id, "Committed D64LE type", tid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
|
|
|
|
CHECK(status, FAIL, "H5Tcommit2");
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
|
|
|
|
tid = H5Tcopy (H5T_UNIX_D64BE);
|
|
|
|
|
CHECK(tid, FAIL, "H5Tcopy");
|
[svn-r14156] Description:
Add API versioning to H5Tcommit()
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-26 10:50:31 +08:00
|
|
|
|
status = H5Tcommit2(file_id, "Committed D64BE type", tid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
|
|
|
|
CHECK(status, FAIL, "H5Tcommit2");
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2000-10-20 00:42:33 +08:00
|
|
|
|
/* Close the file. */
|
|
|
|
|
status = H5Fclose(file_id);
|
|
|
|
|
CHECK(status, FAIL, "H5Fclose");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2001-04-01 11:25:53 +08:00
|
|
|
|
file_id = H5Fopen(DATAFILE, H5F_ACC_RDWR, H5P_DEFAULT);
|
2000-10-20 00:42:33 +08:00
|
|
|
|
CHECK(file_id, FAIL, "H5Fopen");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
[svn-r14160] Description:
Make H5Topen versioned, and add regression test for H5Topen1.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-28 04:28:27 +08:00
|
|
|
|
tid = H5Topen2(file_id, "Committed D32LE type", H5P_DEFAULT);
|
|
|
|
|
CHECK(tid, FAIL, "H5Topen2");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2004-01-10 09:41:13 +08:00
|
|
|
|
if(!H5Tequal(tid, H5T_UNIX_D32LE))
|
|
|
|
|
TestErrPrintf("H5T_UNIX_D32LE datatype not found\n");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
[svn-r14160] Description:
Make H5Topen versioned, and add regression test for H5Topen1.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-28 04:28:27 +08:00
|
|
|
|
tid = H5Topen2(file_id, "Committed D32BE type", H5P_DEFAULT);
|
|
|
|
|
CHECK(tid, FAIL, "H5Topen2");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2004-01-10 09:41:13 +08:00
|
|
|
|
if(!H5Tequal(tid, H5T_UNIX_D32BE))
|
|
|
|
|
TestErrPrintf("H5T_UNIX_D32BE datatype not found\n");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
[svn-r14160] Description:
Make H5Topen versioned, and add regression test for H5Topen1.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-28 04:28:27 +08:00
|
|
|
|
tid = H5Topen2(file_id, "Committed D64LE type", H5P_DEFAULT);
|
|
|
|
|
CHECK(tid, FAIL, "H5Topen2");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2004-01-10 09:41:13 +08:00
|
|
|
|
if(!H5Tequal(tid, H5T_UNIX_D64LE))
|
|
|
|
|
TestErrPrintf("H5T_UNIX_D64LE datatype not found");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
[svn-r14160] Description:
Make H5Topen versioned, and add regression test for H5Topen1.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-09-28 04:28:27 +08:00
|
|
|
|
tid = H5Topen2(file_id, "Committed D64BE type", H5P_DEFAULT);
|
|
|
|
|
CHECK(tid, FAIL, "H5Topen2");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2004-01-10 09:41:13 +08:00
|
|
|
|
if(!H5Tequal(tid, H5T_UNIX_D64BE))
|
|
|
|
|
TestErrPrintf("H5T_UNIX_D64BE datatype not found");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2000-10-20 00:42:33 +08:00
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
|
|
|
|
status = H5Fclose(file_id);
|
|
|
|
|
CHECK(status, FAIL, "H5Fclose");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2003-06-25 04:06:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifdef NOT_YET
|
|
|
|
|
/****************************************************************
|
|
|
|
|
**
|
|
|
|
|
** test_time_io(): Test writing time data to a dataset
|
|
|
|
|
**
|
|
|
|
|
****************************************************************/
|
|
|
|
|
static void
|
|
|
|
|
test_time_io(void)
|
|
|
|
|
{
|
|
|
|
|
hid_t fid; /* File identifier */
|
|
|
|
|
hid_t dsid; /* Dataset identifier */
|
|
|
|
|
hid_t tid; /* Datatype identifier */
|
|
|
|
|
hid_t sid; /* Dataspace identifier */
|
|
|
|
|
time_t timenow, timethen; /* Times */
|
|
|
|
|
herr_t status;
|
|
|
|
|
|
|
|
|
|
/* Output message about test being performed */
|
|
|
|
|
MESSAGE(5, ("Testing Committing Time Datatypes\n"));
|
|
|
|
|
|
|
|
|
|
/* Create a new file using default properties. */
|
|
|
|
|
fid = H5Fcreate(DATAFILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
|
|
|
|
|
CHECK(fid, FAIL, "H5Fcreate");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2003-06-25 04:06:37 +08:00
|
|
|
|
/* Create a scalar dataspace */
|
|
|
|
|
sid = H5Screate(H5S_SCALAR);
|
|
|
|
|
CHECK(sid, FAIL, "H5Screate");
|
|
|
|
|
|
|
|
|
|
/* Create a dataset with a time datatype */
|
[svn-r14199] Description:
Add H5Dcreate to API versioned routines, replacing internal usage with
H5Dcreate2
Fix thread-safe error stack initialization for API versioned error
stack printing routines.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-10-12 00:24:11 +08:00
|
|
|
|
dsid = H5Dcreate2(fid, DATASETNAME, H5T_UNIX_D32LE, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
|
|
|
|
|
CHECK(dsid, FAIL, "H5Dcreate2");
|
2003-06-25 04:06:37 +08:00
|
|
|
|
|
|
|
|
|
/* Initialize time data value */
|
|
|
|
|
timenow = HDtime(NULL);
|
|
|
|
|
|
|
|
|
|
/* Write time to dataset */
|
|
|
|
|
status = H5Dwrite (dsid, H5T_UNIX_D32LE, H5S_ALL, H5S_ALL, H5P_DEFAULT, &timenow);
|
|
|
|
|
CHECK(status, FAIL, "H5Dwrite");
|
|
|
|
|
|
|
|
|
|
/* Close objects */
|
|
|
|
|
status = H5Dclose(dsid);
|
|
|
|
|
CHECK(status, FAIL, "H5Dclose");
|
|
|
|
|
|
|
|
|
|
status = H5Sclose(sid);
|
|
|
|
|
CHECK(status, FAIL, "H5Sclose");
|
|
|
|
|
|
|
|
|
|
status = H5Fclose (fid);
|
|
|
|
|
CHECK(status, FAIL, "H5Fclose");
|
|
|
|
|
|
|
|
|
|
/* Open file and dataset, read time back and print it in calendar format */
|
|
|
|
|
fid = H5Fopen(DATAFILE, H5F_ACC_RDWR, H5P_DEFAULT);
|
|
|
|
|
CHECK(fid, FAIL, "H5Fopen");
|
|
|
|
|
|
[svn-r14193] Description:
Make H5Dopen versioned and change all internal usage to use H5Dopen2
Add simple regression test for H5Dopen1
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
2007-10-09 03:59:36 +08:00
|
|
|
|
dsid = H5Dopen2(fid, DATASETNAME, H5P_DEFAULT);
|
|
|
|
|
CHECK(dsid, FAIL, "H5Dopen2");
|
2003-06-25 04:06:37 +08:00
|
|
|
|
|
|
|
|
|
tid = H5Dget_type(dsid);
|
|
|
|
|
CHECK(tid, FAIL, "H5Dget_type");
|
|
|
|
|
if( H5Tget_class (tid) == H5T_TIME)
|
|
|
|
|
fprintf(stderr,"datatype class is H5T_TIME\n");
|
|
|
|
|
status = H5Tclose (tid);
|
|
|
|
|
CHECK(status, FAIL, "H5Tclose");
|
|
|
|
|
|
|
|
|
|
status = H5Dread (dsid, H5T_UNIX_D32LE, H5S_ALL, H5S_ALL, H5P_DEFAULT, &timethen);
|
|
|
|
|
CHECK(status, FAIL, "H5Dread");
|
|
|
|
|
fprintf(stderr,"time written was: %s\n", HDctime(&timethen));
|
|
|
|
|
|
|
|
|
|
status = H5Dclose(dsid);
|
|
|
|
|
CHECK(status, FAIL, "H5Dclose");
|
|
|
|
|
|
|
|
|
|
status = H5Fclose(fid);
|
|
|
|
|
CHECK(status, FAIL, "H5Fclose");
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2003-06-25 04:06:37 +08:00
|
|
|
|
}
|
|
|
|
|
#endif /* NOT_YET */
|
|
|
|
|
|
|
|
|
|
/****************************************************************
|
|
|
|
|
**
|
|
|
|
|
** test_time(): Main time datatype testing routine.
|
2005-08-14 04:53:35 +08:00
|
|
|
|
**
|
2003-06-25 04:06:37 +08:00
|
|
|
|
****************************************************************/
|
2005-08-14 04:53:35 +08:00
|
|
|
|
void
|
2003-06-25 04:06:37 +08:00
|
|
|
|
test_time(void)
|
|
|
|
|
{
|
|
|
|
|
/* Output message about test being performed */
|
|
|
|
|
MESSAGE(5, ("Testing Time Datatypes\n"));
|
|
|
|
|
|
|
|
|
|
test_time_commit(); /* Test committing time datatypes to a file */
|
|
|
|
|
#ifdef NOT_YET
|
|
|
|
|
test_time_io(); /* Test writing time data to a dataset */
|
|
|
|
|
#endif /* NOT_YET */
|
2005-08-14 04:53:35 +08:00
|
|
|
|
|
2003-06-25 04:06:37 +08:00
|
|
|
|
} /* test_time() */
|
2000-10-20 00:42:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
* Function: cleanup_time
|
|
|
|
|
*
|
|
|
|
|
* Purpose: Cleanup temporary test files
|
|
|
|
|
*
|
|
|
|
|
* Return: none
|
|
|
|
|
*
|
|
|
|
|
* Programmer: Quincey Koziol
|
|
|
|
|
* October 19, 2000
|
|
|
|
|
*
|
|
|
|
|
* Modifications:
|
|
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
void
|
|
|
|
|
cleanup_time(void)
|
|
|
|
|
{
|
2001-04-01 11:25:53 +08:00
|
|
|
|
remove(DATAFILE);
|
2000-10-20 00:42:33 +08:00
|
|
|
|
}
|
|
|
|
|
|