Edinburgh Speech Tools  2.1-release
stdio16.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include "charset.h"
Include dependency graph for stdio16.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STD_API
 

Functions

STD_API FILE16 * MakeFILE16FromFILE (FILE *f, const char *type)
 
STD_API FILE16 * MakeFILE16FromString (void *buf, long size, const char *type)
 
STD_API int Readu (FILE16 *file, unsigned char *buf, int max_count)
 
STD_API int Writeu (FILE16 *file, unsigned char *buf, int count)
 
STD_API int Fclose (FILE16 *file)
 
STD_API int Fflush (FILE16 *file)
 
STD_API int Fseek (FILE16 *file, long offset, int ptrname)
 
STD_API FILE * GetFILE (FILE16 *file)
 
STD_API void SetCloseUnderlying (FILE16 *file, int cu)
 
STD_API void SetFileEncoding (FILE16 *file, CharacterEncoding encoding)
 
STD_API CharacterEncoding GetFileEncoding (FILE16 *file)
 
STD_API int Fprintf (FILE16 *file, const char *format,...)
 
STD_API int Vfprintf (FILE16 *file, const char *format, va_list args)
 
STD_API int Printf (const char *format,...)
 
STD_API int Vprintf (const char *format, va_list args)
 
STD_API int Sprintf (void *buf, CharacterEncoding enc, const char *format,...)
 
STD_API int Vsprintf (void *buf, CharacterEncoding enc, const char *format, va_list args)
 
STD_API void init_stdio16 (void)
 

Variables

STD_API FILE16 * Stdin
 
STD_API FILE16 * Stdout
 
STD_API FILE16 * Stderr
 

Macro Definition Documentation

#define STD_API

Definition at line 19 of file stdio16.h.

Function Documentation

STD_API FILE16* MakeFILE16FromFILE ( FILE *  f,
const char *  type 
)

Definition at line 670 of file stdio16.c.

STD_API FILE16* MakeFILE16FromString ( void *  buf,
long  size,
const char *  type 
)

Definition at line 727 of file stdio16.c.

STD_API int Readu ( FILE16 *  file,
unsigned char *  buf,
int  max_count 
)

Definition at line 309 of file stdio16.c.

STD_API int Writeu ( FILE16 *  file,
unsigned char *  buf,
int  count 
)

Definition at line 314 of file stdio16.c.

STD_API int Fclose ( FILE16 *  file)

Definition at line 319 of file stdio16.c.

STD_API int Fflush ( FILE16 *  file)

Definition at line 334 of file stdio16.c.

STD_API int Fseek ( FILE16 *  file,
long  offset,
int  ptrname 
)

Definition at line 329 of file stdio16.c.

STD_API FILE* GetFILE ( FILE16 *  file)

Definition at line 339 of file stdio16.c.

STD_API void SetCloseUnderlying ( FILE16 *  file,
int  cu 
)

Definition at line 347 of file stdio16.c.

STD_API void SetFileEncoding ( FILE16 *  file,
CharacterEncoding  encoding 
)

Definition at line 355 of file stdio16.c.

STD_API CharacterEncoding GetFileEncoding ( FILE16 *  file)

Definition at line 360 of file stdio16.c.

STD_API int Fprintf ( FILE16 *  file,
const char *  format,
  ... 
)

Definition at line 365 of file stdio16.c.

STD_API int Vfprintf ( FILE16 *  file,
const char *  format,
va_list  args 
)

Definition at line 417 of file stdio16.c.

STD_API int Printf ( const char *  format,
  ... 
)

Definition at line 375 of file stdio16.c.

STD_API int Vprintf ( const char *  format,
va_list  args 
)

Definition at line 395 of file stdio16.c.

STD_API int Sprintf ( void *  buf,
CharacterEncoding  enc,
const char *  format,
  ... 
)

Definition at line 385 of file stdio16.c.

STD_API int Vsprintf ( void *  buf,
CharacterEncoding  enc,
const char *  format,
va_list  args 
)

Definition at line 400 of file stdio16.c.

STD_API void init_stdio16 ( void  )

Definition at line 125 of file stdio16.c.

Variable Documentation

STD_API FILE16* Stdin

Definition at line 123 of file stdio16.c.

STD_API FILE16 * Stdout

Definition at line 123 of file stdio16.c.

STD_API FILE16 * Stderr

Definition at line 123 of file stdio16.c.