29 typedef struct _FILE16 FILE16;
36 #ifdef SOCKETS_IMPLEMENTED 37 STD_API FILE16 *MakeFILE16FromWinsock(
int sock,
const char *type);
41 STD_API FILE16 *MakeFILE16FromGzip(gzFile file,
const char *type);
44 STD_API int Readu(FILE16 *file,
unsigned char *buf,
int max_count);
45 STD_API int Writeu(FILE16 *file,
unsigned char *buf,
int count);
48 STD_API int Fseek(FILE16 *file,
long offset,
int ptrname);
STD_API void SetFileEncoding(FILE16 *file, CharacterEncoding encoding)
STD_API CharacterEncoding GetFileEncoding(FILE16 *file)
STD_API FILE16 * MakeFILE16FromFILE(FILE *f, const char *type)
STD_API void SetCloseUnderlying(FILE16 *file, int cu)
STD_API int Vsprintf(void *buf, CharacterEncoding enc, const char *format, va_list args)
CharacterEncoding encoding
STD_API int Readu(FILE16 *file, unsigned char *buf, int max_count)
STD_API FILE * GetFILE(FILE16 *file)
STD_API int Vprintf(const char *format, va_list args)
STD_API int Printf(const char *format,...)
STD_API void init_stdio16(void)
STD_API int Fseek(FILE16 *file, long offset, int ptrname)
STD_API int Writeu(FILE16 *file, unsigned char *buf, int count)
STD_API int Vfprintf(FILE16 *file, const char *format, va_list args)
enum character_encoding CharacterEncoding
STD_API int Fflush(FILE16 *file)
STD_API int Fclose(FILE16 *file)
STD_API int Fprintf(FILE16 *file, const char *format,...)
STD_API int Sprintf(void *buf, CharacterEncoding enc, const char *format,...)
STD_API FILE16 * MakeFILE16FromString(void *buf, long size, const char *type)