#include <windows.h>
#include "hyport.h"
Functions | |
char *VMCALL | hyfile_read_text (struct HyPortLibrary *portLibrary, IDATA fd, char *buf, IDATA nbytes) |
Read a line of text from the file into buf. | |
IDATA VMCALL | hyfile_write_text (struct HyPortLibrary *portLibrary, IDATA fd, const char *buf, IDATA nbytes) |
Output the buffer onto the stream as text. |
|
Read a line of text from the file into buf. Text is converted from the platform file encoding to UTF8. This is mostly equivalent to fgets in standard C.
|
|
Output the buffer onto the stream as text. The buffer is a UTF8-encoded array of chars. It is converted to the appropriate platform encoding.
|