This documentation describes the Prokee module interface.
Static Methods:
open (version 2)
FILE *osfile::open(const wchar_t *filename,const wchar_t *mode)
Motivation
Static Methods
open (version 1)
Opens a file.
Signature:
FILE *osfile::open(const char *filename,const char *mode)
Parameters:
| const char * | filename | [IN] | The null-terminated file name. |
| const char * | mode | [IN] | The file access mode. |
Return value:Returns a handle of the opened file, or
NULL if the file could not be opened.
open (version 2)
Opens a file.
Signature:
FILE *osfile::open(const wchar_t *filename,const wchar_t *mode)
Parameters:
| const wchar_t * | filename | [IN] | The null-terminated file name. |
| const wchar_t * | mode | [IN] | The file access mode. |
Return value:Returns a handle of the opened file, or
NULL if the file could not be opened.
rm (version 1)
Removes a file.
Signature:
bool osfile::rm(const char *filename)
Parameters:
| const char * | filename | [IN] | The null-terminated file name. |
Return value:Returns
true if the file could been removed, or
false otherwise.
rm (version 2)
Removes a file.
Signature:
bool osfile::rm(const wchar_t *filename)
Parameters:
| const wchar_t * | filename | [IN] | The null-terminated file name. |
Return value:Returns
true if the file could been removed, or
false otherwise.
testfile (version 1)
Tests if a file exists.
Signature:
bool osfile::testfile(const char *filename)
Parameters:
| const char * | filename | [IN] | The null-terminated file name. |
Return value:Returns
true if the file exists and
false otherwise.
testfile (version 2)
Tests if a file exists.
Signature:
bool osfile::testfile(const wchar_t *filename)
Parameters:
| const wchar_t * | filename | [IN] | The null-terminated file name. |
Return value:Returns
true if the file exists and
false otherwise.
get_size (version 1)
Returns the size of the file.
Signature:
unsigned long int osfile::get_size(const char *filename)
Parameters:
| const char * | filename | [IN] | The null-terminated file name. |
Return value:The size of the files in bytes.
get_size (version 2)
Returns the size of the file.
Signature:
unsigned long int osfile::get_size(const wchar_t *filename)
Parameters:
| const wchar_t * | filename | [IN] | The null-terminated file name. |
Return value:The size of the files in bytes.
get_time_write (version 1)
Returns the time, the file has last been modified.
Signature:
time_t osfile::get_time_write(const char *filename)
Parameters:
| const char * | filename | [IN] | The null-terminated file name. |
Return value:Returns the time, the file has last been modified.
get_time_write (version 2)
Returns the time, the file has last been modified.
Signature:
time_t osfile::get_time_write(const wchar_t *filename)
Parameters:
| const wchar_t * | filename | [IN] | The null-terminated file name. |
Return value:Returns the time, the file has last been modified.