Classes | Defines | Typedefs | Functions | Variables
fio.h File Reference
#include "sysdep1.h"
#include "stdio.h"
#include "errno.h"
#include "stddef.h"
Include dependency graph for fio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  unit

Defines

#define buf_end(x)   (x->_flag & _IONBF ? x->_ptr : x->_base + BUFSIZ)
#define DIR   4
#define err(f, m, s)   {if(f) errno= m; else f__fatal(m,s); return(m);}
#define errfl(f, m, s)   return err__fl((int)f,m,s)
#define EXT   7
#define FMT   5
#define INT   8
#define MXUNIT   7
#define READ   2
#define SEQ   3
#define UNF   6
#define Void   void
#define WRITE   1

Typedefs

typedef long uiolen

Functions

void b_char (const char *, char *, ftnlen)
int c_sfe (cilist *)
int en_fio (void)
int err__fl (int, int, const char *)
void f__fatal (int, const char *)
long f__inode (char *, int *)
int f__nowreading (unit *)
int f__nowwriting (unit *)
int f__putbuf (int)
void f_init (void)
int fk_open (int, int, ftnint)
void g_char (const char *, ftnlen, char *)
void sig_die (const char *, int)
int t_runc (alist *)
void x_putc (int)
int xrd_SL (void)
int z_rnew (void)

Variables

FILE * f__cf
OFF_T f__cursor
unitf__curunit
int(* f__doend )(Void)
int(* f__donewrec )(void)
cilistf__elist
flag f__external
flag f__formatted
int(* f__getn )(void)
OFF_T f__hiwater
flag f__init
void(* f__putn )(int)
flag f__reading
int f__recpos
flag f__sequential
unit f__units []
int(* t_putc )(int)
int(* x_wSL )(void)

Define Documentation

#define buf_end (   x)    (x->_flag & _IONBF ? x->_ptr : x->_base + BUFSIZ)

Definition at line 141 of file fio.h.

#define DIR   4

Definition at line 135 of file fio.h.

#define err (   f,
  m,
 
)    {if(f) errno= m; else f__fatal(m,s); return(m);}

Definition at line 119 of file fio.h.

#define errfl (   f,
  m,
 
)    return err__fl((int)f,m,s)

Definition at line 120 of file fio.h.

#define EXT   7

Definition at line 138 of file fio.h.

#define FMT   5

Definition at line 136 of file fio.h.

#define INT   8

Definition at line 139 of file fio.h.

#define MXUNIT   7

Definition at line 123 of file fio.h.

#define READ   2

Definition at line 133 of file fio.h.

#define SEQ   3

Definition at line 134 of file fio.h.

#define UNF   6

Definition at line 137 of file fio.h.

#define Void   void

Definition at line 90 of file fio.h.

#define WRITE   1

Definition at line 132 of file fio.h.


Typedef Documentation

typedef long uiolen

Definition at line 58 of file fio.h.


Function Documentation

void b_char ( const char *  ,
char *  ,
ftnlen   
)
int c_sfe ( cilist )
int en_fio ( void  )
int err__fl ( int  ,
int  ,
const char *   
)

Definition at line 282 of file err.c.

void f__fatal ( int  ,
const char *   
)

Definition at line 154 of file err.c.

long f__inode ( char *  ,
int *   
)

Definition at line 47 of file util.c.

int f__nowreading ( unit )
int f__nowwriting ( unit )

Definition at line 239 of file err.c.

int f__putbuf ( int  )

Definition at line 74 of file open.c.

void f_init ( void  )
int fk_open ( int  ,
int  ,
ftnint   
)

Definition at line 283 of file open.c.

void g_char ( const char *  ,
ftnlen  ,
char *   
)

Definition at line 14 of file util.c.

void sig_die ( const char *  ,
int   
)

Definition at line 22 of file sig_die.c.

int t_runc ( alist )

Definition at line 80 of file endfile.c.

void x_putc ( int  )

Definition at line 104 of file open.c.

int xrd_SL ( void  )
int z_rnew ( void  )

Variable Documentation

FILE* f__cf

Definition at line 50 of file err.c.

OFF_T f__cursor

Definition at line 53 of file err.c.

Definition at line 51 of file err.c.

int(* f__doend)(Void)

Definition at line 46 of file err.c.

int(* f__donewrec)(void)

Definition at line 46 of file err.c.

Definition at line 31 of file err.c.

Definition at line 36 of file err.c.

Definition at line 49 of file err.c.

int(* f__getn)(void)

Definition at line 43 of file err.c.

OFF_T f__hiwater

Definition at line 53 of file err.c.

Definition at line 30 of file err.c.

void(* f__putn)(int)

Definition at line 44 of file err.c.

Definition at line 33 of file err.c.

int f__recpos

Definition at line 52 of file err.c.

Definition at line 48 of file err.c.

Definition at line 29 of file err.c.

int(* t_putc)(int)

Definition at line 105 of file fio.h.

int(* x_wSL)(void)

Definition at line 105 of file fio.h.



swiftnav
Author(s):
autogenerated on Sat Jun 8 2019 18:56:52