Defines | Functions | Variables
open.c File Reference
#include "f2c.h"
#include "fio.h"
#include "string.h"
#include "unistd.h"
#include "stdlib.h"
Include dependency graph for open.c:

Go to the source code of this file.

Defines

#define Const   const
#define opnerr(f, m, s)   {if(f) errno= m; else opn_err(m,s,a); return(m);}

Functions

static void f__bufadj (int n, int c)
int f__canseek (FILE *)
int f__putbuf (int c)
integer f_clos (cllist *)
integer f_open (olist *a)
int fk_open (int seq, int fmt, ftnint n)
static void opn_err (int m, const char *s, olist *a)
void x_putc (int c)

Variables

static char * f__buf = f__buf0
static char f__buf0 [400]
int f__buflen = (int)sizeof(f__buf0)
Const char * f__r_mode [2] = {"rb", "r"}
Const char * f__w_mode [4] = {"wb", "w", "r+b", "r+"}

Define Documentation

#define Const   const

Definition at line 20 of file open.c.

#define opnerr (   f,
  m,
 
)    {if(f) errno= m; else opn_err(m,s,a); return(m);}

Definition at line 112 of file open.c.


Function Documentation

static void f__bufadj ( int  n,
int  c 
) [static]

Definition at line 47 of file open.c.

int f__canseek ( FILE *  )

Definition at line 99 of file err.c.

int f__putbuf ( int  c)

Definition at line 74 of file open.c.

Definition at line 30 of file close.c.

integer f_open ( olist a)

Definition at line 133 of file open.c.

int fk_open ( int  seq,
int  fmt,
ftnint  n 
)

Definition at line 283 of file open.c.

static void opn_err ( int  m,
const char *  s,
olist a 
) [static]

Definition at line 118 of file open.c.

void x_putc ( int  c)

Definition at line 104 of file open.c.


Variable Documentation

char * f__buf = f__buf0 [static]

Definition at line 40 of file open.c.

char f__buf0[400] [static]

Definition at line 40 of file open.c.

int f__buflen = (int)sizeof(f__buf0)

Definition at line 41 of file open.c.

Const char* f__r_mode[2] = {"rb", "r"}

Definition at line 36 of file open.c.

Const char* f__w_mode[4] = {"wb", "w", "r+b", "r+"}

Definition at line 37 of file open.c.



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