hpstdio.h File Reference

#include <hpsys.h>
#include <kos.h>
#include <stdarg.h>

Go to the source code of this file.

Data Structures

struct  FILE
struct  _open_list_entry

Defines

#define SEEK_SET   0
#define SEEK_CUR   1
#define SEEK_END   2
#define rewind(f)   fseek((f),0L,SEEK_SET)
#define vsscanf   _vsscanf
#define sscanf   _sscanf
#define scanf   _scanf

Typedefs

typedef unsigned long long ULONGLONG
typedef long long LONGLONG
typedef _open_list_entry OPEN_LIST_ENTRY

Functions

FILEfopen (const char *fn, const char *mode)
int fclose (FILE *f)
int fgetc (FILE *f)
char * fgets (char *buf, int n, FILE *f)
int fputc (int c, FILE *f)
int fputs (const char *s, FILE *f)
SIZE_T fread (void *buf, SIZE_T size, SIZE_T cnt, FILE *f)
SIZE_T fwrite (const void *buf, SIZE_T size, SIZE_T cnt, FILE *f)
int fseek (FILE *f, long offset, int whence)
int feof (FILE *f)
void * get_minifont ()
 RETURN THE CURRENT CALCULATOR MINIFONT.
char * get_bigfont ()
int get_bigfontheight ()
int readint ()
 Read numbers from keyboard.
unsigned readuint ()
 Read numbers from keyboard.
unsigned readhex ()
 Read numbers from keyboard.
LONGLONG readlonglong ()
 Read numbers from keyboard.
ULONGLONG readulonglong ()
 Read numbers from keyboard.
double readdouble ()
 Read numbers from keyboard.
EXTERN int puts (const char *)
EXTERN int putchar (int)
int write (int fd, const char *buf, size_t count)
int isatty (int fd)
EXTERN char * gets (char *buf)
int printf (const char *fmt,...)
 Stripped down printf surrogate Refer to the source for format restrictions.
int sprintf (char *out, const char *fmt,...)
int vsprintf (char *out, const char *fmt, va_list argp)
int fprintf (FILE *f, const char *fmt,...)
int iprintf (const char *fmt,...)
int isprintf (char *out, const char *fmt,...)
int ivsprintf (char *out, const char *fmt, va_list argp)
int ifprintf (FILE *f, const char *fmt,...)
int _vsscanf (const char *str, const char *format, va_list ap)
int _sscanf (const char *s, const char *f,...)
int _scanf (const char *f,...)
int get_decimal_digits ()
void set_decimal_digits (int v)
char * get_decimal_separator ()
void set_decimal_separator (char a)


Define Documentation

#define rewind (  )     fseek((f),0L,SEEK_SET)

Definition at line 92 of file hpstdio.h.

#define scanf   _scanf

Definition at line 219 of file hpstdio.h.

#define SEEK_CUR   1

Definition at line 71 of file hpstdio.h.

#define SEEK_END   2

Definition at line 72 of file hpstdio.h.

#define SEEK_SET   0

Definition at line 70 of file hpstdio.h.

#define sscanf   _sscanf

Definition at line 218 of file hpstdio.h.

#define vsscanf   _vsscanf

Definition at line 217 of file hpstdio.h.


Typedef Documentation

typedef long long LONGLONG

Definition at line 47 of file hpstdio.h.

typedef struct _open_list_entry OPEN_LIST_ENTRY

typedef unsigned long long ULONGLONG

Definition at line 46 of file hpstdio.h.


Function Documentation

int _scanf ( const char *  f,
  ... 
)

int _sscanf ( const char *  s,
const char *  f,
  ... 
)

int _vsscanf ( const char *  str,
const char *  format,
va_list  ap 
)

int fclose ( FILE f  ) 

int feof ( FILE f  ) 

int fgetc ( FILE f  ) 

char* fgets ( char *  buf,
int  n,
FILE f 
)

FILE* fopen ( const char *  fn,
const char *  mode 
)

int fprintf ( FILE f,
const char *  fmt,
  ... 
)

int fputc ( int  c,
FILE f 
)

int fputs ( const char *  s,
FILE f 
)

SIZE_T fread ( void *  buf,
SIZE_T  size,
SIZE_T  cnt,
FILE f 
)

int fseek ( FILE f,
long  offset,
int  whence 
)

SIZE_T fwrite ( const void *  buf,
SIZE_T  size,
SIZE_T  cnt,
FILE f 
)

char* get_bigfont (  ) 

int get_bigfontheight (  ) 

int get_decimal_digits (  ) 

char* get_decimal_separator (  ) 

void* get_minifont (  ) 

RETURN THE CURRENT CALCULATOR MINIFONT.

USES THE (STABLE) MINI_FONT ENTRY IN RAM (NOT ROM, SO THIS WON'T MOVE)

THIS IS 0x812CF IN SATURN DOMAIN. NOTICE THAT THE FONT IS NOT BYTE-ALIGNED THE ACTUAL FONT STARTS 7 NIBBLES AFTER THIS ADDRESS

EXTERN char* gets ( char *  buf  ) 

int ifprintf ( FILE f,
const char *  fmt,
  ... 
)

int iprintf ( const char *  fmt,
  ... 
)

int isatty ( int  fd  ) 

int isprintf ( char *  out,
const char *  fmt,
  ... 
)

int ivsprintf ( char *  out,
const char *  fmt,
va_list  argp 
)

int printf ( const char *  fmt,
  ... 
)

Stripped down printf surrogate Refer to the source for format restrictions.

EXTERN int putchar ( int   ) 

EXTERN int puts ( const char *   ) 

double readdouble (  ) 

Read numbers from keyboard.

Return values:
The appropriate number, read until end of input ,i.e. \r, or syntax error position.

unsigned readhex (  ) 

Read numbers from keyboard.

Return values:
The appropriate number, read until end of input ,i.e. \r, or syntax error position.

int readint (  ) 

Read numbers from keyboard.

Return values:
The appropriate number, read until end of input ,i.e. \r, or syntax error position.

LONGLONG readlonglong (  ) 

Read numbers from keyboard.

Return values:
The appropriate number, read until end of input ,i.e. \r, or syntax error position.

unsigned readuint (  ) 

Read numbers from keyboard.

Return values:
The appropriate number, read until end of input ,i.e. \r, or syntax error position.

ULONGLONG readulonglong (  ) 

Read numbers from keyboard.

Return values:
The appropriate number, read until end of input ,i.e. \r, or syntax error position.

void set_decimal_digits ( int  v  ) 

void set_decimal_separator ( char  a  ) 

int sprintf ( char *  out,
const char *  fmt,
  ... 
)

int vsprintf ( char *  out,
const char *  fmt,
va_list  argp 
)

int write ( int  fd,
const char *  buf,
size_t  count 
)


Generated on Sat Feb 17 00:05:26 2007 for HP-GCCLibrary by  doxygen 1.5.0