|
Purpose |
Disk reset function | |
|
Old names |
#define _vdskrst tf_disk_reset #define _adskrst sf_disk_reset | |
|
Syntax |
int tf_disk_reset(file_name) | |
|
Parameters |
char* file_name |
Null-terminated string containing file name on disk |
|
Description |
The tf_disk_reset() and sf_disk_reset() functions reset the disk on which file_name resides. They are used for floppy disk operations and must be called before asking the user to change the disk. The sf_disk_reset() function calls the file handling support in the database manager, and the tf_disk_reset() function calls the file handling support in the terminal manager. You must not mix up the server file functions with terminal file functions. Note that these functions are only required for the old CCPM operating system. Other operating systems reset the disk automatically. | |
|
Return values |
Returns TRUE if it is safe for the disk to be changed, otherwise zero | |
These functions have now been withdrawn, and replaced with a macro that evaulates to TRUE