Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
ansi_files.h File Reference

Go to the source code of this file.

Classes

struct  _file_modes
 
struct  _file_states
 
struct  _FILE
 
struct  _files
 

Typedefs

typedef unsigned long __file_handle
 
typedef unsigned long fpos_t
 
typedef unsigned short wchar_t
 
typedef struct _file_modes file_modes
 
typedef struct _file_states file_states
 
typedef void(* __idle_proc) (void)
 
typedef int(* __pos_proc) (__file_handle file, fpos_t *position, int mode, __idle_proc idle_proc)
 
typedef int(* __io_proc) (__file_handle file, unsigned char *buff, size_t *count, __idle_proc idle_proc)
 
typedef int(* __close_proc) (__file_handle file)
 
typedef struct _FILE FILE
 
typedef struct _files files
 

Enumerations

enum  __file_kinds { __closed_file , __disk_file , __console_file , __unavailable_file }
 
enum  __file_orientation { UNORIENTED , CHAR_ORIENTED , WIDE_ORIENTED }
 
enum  __io_modes { __read = 1 , __write = 2 , __read_write = 3 , __append = 4 }
 
enum  __io_states { __neutral , __writing , __reading , __rereading }
 
enum  __io_results { __no_io_error , __io_error , __io_EOF }
 

Functions

int __close_console (__file_handle file)
 
int __write_console (__file_handle file, unsigned char *buf, size_t *count, __idle_proc idle_fn)
 
int __read_console (__file_handle file, unsigned char *buf, size_t *count, __idle_proc idle_fn)
 
unsigned int __flush_all (void)
 
void __close_all (void)
 

Variables

files __files
 

Typedef Documentation

◆ __close_proc

typedef int(* __close_proc) (__file_handle file)

◆ __file_handle

◆ __idle_proc

typedef void(* __idle_proc) (void)

◆ __io_proc

◆ __pos_proc

typedef int(* __pos_proc) (__file_handle file, fpos_t *position, int mode, __idle_proc idle_proc)

◆ FILE

◆ file_modes

◆ file_states

◆ files

◆ fpos_t

◆ wchar_t

Enumeration Type Documentation

◆ __file_kinds

Enumerator
__closed_file 
__disk_file 
__console_file 
__unavailable_file 

◆ __file_orientation

Enumerator
UNORIENTED 
CHAR_ORIENTED 
WIDE_ORIENTED 

◆ __io_modes

Enumerator
__read 
__write 
__read_write 
__append 

◆ __io_results

Enumerator
__no_io_error 
__io_error 
__io_EOF 

◆ __io_states

Enumerator
__neutral 
__writing 
__reading 
__rereading 

Function Documentation

◆ __close_all()

void __close_all ( void  )

◆ __close_console()

int __close_console ( __file_handle  file)
extern

◆ __flush_all()

unsigned int __flush_all ( void  )

◆ __read_console()

int __read_console ( __file_handle  file,
unsigned char buf,
size_t count,
__idle_proc  idle_fn 
)
extern

◆ __write_console()

int __write_console ( __file_handle  file,
unsigned char buf,
size_t count,
__idle_proc  idle_fn 
)
extern

Variable Documentation

◆ __files

files __files
extern