![]() |
ZenWINX Architecture - Reference Manual - Guides |
|
Functions | |
WINX_FILE *__stdcall | winx_fopen (const char *filename, const char *mode) |
fopen() native equivalent. | |
size_t __stdcall | winx_fread (void *buffer, size_t size, size_t count, WINX_FILE *f) |
fread() native equivalent. | |
size_t __stdcall | winx_fwrite (const void *buffer, size_t size, size_t count, WINX_FILE *f) |
fwrite() native equivalent. | |
int __stdcall | winx_ioctl (WINX_FILE *f, int code, char *description, void *in_buffer, int in_size, void *out_buffer, int out_size, int *pbytes_returned) |
Sends an I/O control code to the specified device. | |
int __stdcall | winx_fflush (WINX_FILE *f) |
fflush() native equivalent. | |
void __stdcall | winx_fclose (WINX_FILE *f) |
fclose() native equivalent. | |
int __stdcall | winx_create_directory (const char *path) |
Creates a directory. | |
int __stdcall | winx_delete_file (const char *filename) |
Deletes a file. |
WINX_FILE* __stdcall winx_fopen | ( | const char * | filename, | |
const char * | mode | |||
) |
fopen() native equivalent.
Definition at line 34 of file file.c.
References winx_heap_alloc().
int __stdcall winx_ioctl | ( | WINX_FILE * | f, | |
int | code, | |||
char * | description, | |||
void * | in_buffer, | |||
int | in_size, | |||
void * | out_buffer, | |||
int | out_size, | |||
int * | pbytes_returned | |||
) |
Sends an I/O control code to the specified device.
[in] | f | the file handle. |
[in] | code | the IOCTL code. |
[in] | description | the string explaining the meaning of the request, used by error handling code. |
[in] | in_buffer | the input buffer pointer. |
[in] | in_size | the input buffer size, in bytes. |
[out] | out_buffer | the output buffer pointer. |
[in] | out_size | the output buffer size, in bytes. |
[out] | pbytes_returned | pointer to the variable receiving the number of bytes written to the output buffer. |
int __stdcall winx_fflush | ( | WINX_FILE * | f | ) |
int __stdcall winx_create_directory | ( | const char * | path | ) |