| Public Methods | |
| struct File* | File_ctor (struct File *ptr_file) | 
| struct File* | File_ctor_Ex (struct File *ptr_file, char *sz_file_name) | 
| bool | File_is_free (struct File *ptr_file) | 
| time_t | File_get_date (struct File *ptr_file) | 
| bool | File_set_date (struct File *ptr_file, time_t date) | 
| bool | File_get_info (struct File *ptr_file, char *sz_file_name) | 
| long | File_free_bytes_total (char *sz_device_name) | 
| long | File_free_user_bytes_total (char *sz_device_name) | 
| long | File_files_total (char *sz_device_name) | 
| long | File_bytes_total (char *sz_device_name) | 
| long | File_blocks_total (char *sz_device_name) | 
| long | File_bad_blocks_total (char *sz_device_name) | 
| int | File_block_size (char *sz_device_name) | 
| long | File_free_blocks_total (char *sz_device_name) | 
| bool | File_bootable (char *sz_device_name) | 
| bool | File_is_valid_name (char *sz_file_name) | 
| bool | File_rename (char *sz_old_filename, char *sz_new_filename) | 
| bool | File_remove (char *sz_file_name) | 
| bool | File_exists (char *sz_file_name) | 
| void | File_dtor (struct File *ptr_file, int memory_flag) | 
| Public Attributes | |
| char | name [MAX_NAME_LEN] | 
| long | size | 
| time_t | modification_time | 
Object for manipulation files.
| 
 | 
| 
Returns the total number of bad blocks on the specified device. 
 
 
 | 
| 
 | 
| 
Returns the block size for the specified device. 
 
 | 
| 
 | 
| 
Returns the total number of blocks on the specified device. 
 
 
 | 
| 
 | 
| 
Returns TRUE if the specified device is bootable. 
 
 | 
| 
 | 
| 
Returns the total number of bytes on the specified device. 
 
 
 | 
| 
 | 
| 
Creates an empty File object. 
 
 
 | 
| 
 | 
| 
Extended version of the File_ctor function. 
 
 
 | 
| 
 | 
| 
Destructor. 
 
 
 | 
| 
 | 
| 
Checks whether a file with specified name exists. 
 
 | 
| 
 | 
| 
Returns the total number of files on the specified device. 
 
 
 | 
| 
 | 
| 
Returns the number of free blocks on the specified device. 
 
 | 
| 
 | 
| 
Estimates the number of free bytes on the specified device. 
 
 
 | 
| 
 | 
| 
Estimates the number of free bytes for user data on the specified device. 
 
 
 | 
| 
 | 
| 
Returns the time the file was last modified. 
 
 
 | 
| 
 | 
| 
Initializes the File object's fields (name, date, length) of the File object, using the specified file's parameters. 
 
 | 
| 
 | 
| 
Checks whether a file is open for IO functions. 
 
 | 
| 
 | 
| 
Returns TRUE if the specified string is valid as a filename. 
 
 | 
| 
 | 
| 
Deletes the specified file if it is not being modified (written to or read). 
 
 | 
| 
 | 
| 
Renames the specified file if it is not being modified (written to or read). 
 
 | 
| 
 | 
| 
Sets date the file was last modified. 
 
 
 | 
| 
 | 
| 
Time of the last modification. | 
| 
 | 
| 
File name. | 
| 
 | 
| 
File size. | 
| Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |