DyLP 1.10.4
Loading...
Searching...
No Matches
dylib_io.h File Reference
#include "dylib_std.h"
+ Include dependency graph for dylib_io.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lex_struct
 

Macros

#define IOID_NOSTRM   ((ioid) 0)
 
#define IOID_INV   ((ioid) -1)
 

Typedefs

typedef int ioid
 

Enumerations

enum  lexclass {
  DY_LCNIL , DY_LCNUM , DY_LCID , DY_LCDEL ,
  DY_LCFS , DY_LCQS , DY_LCEOF , DY_LCERR
}
 

Functions

bool dyio_ioinit (void)
 
void dyio_ioterm (void)
 
ioid dyio_openfile (const char *path, const char *mode)
 
bool dyio_isactive (ioid id)
 
bool dyio_closefile (ioid id)
 
bool dyio_setmode (ioid id, char mode)
 
bool dyio_ttyq (ioid id)
 
bool dyio_chgerrlog (const char *path, bool echo)
 
const char * dyio_idtopath (ioid id)
 
ioid dyio_pathtoid (const char *path, const char *mode)
 
long dyio_mark (ioid id)
 
bool dyio_backup (ioid id, long there)
 
bool dyio_scan (ioid id, const char pattern[], bool rwnd, bool wrap)
 
lex_structdyio_scanlex (ioid id)
 
lex_structdyio_scanstr (ioid id, lexclass stype, int fslen, char qschr, char qechr)
 
void dyio_flushio (ioid id, bool echo)
 
void dyio_outfmt (ioid id, bool echo, const char *pattern,...)
 
void dyio_outchr (ioid id, bool echo, char chr)
 
int dyio_outfxd (char *buffer, int fldsze, char lcr, const char *pattern,...)
 

Macro Definition Documentation

◆ IOID_NOSTRM

#define IOID_NOSTRM   ((ioid) 0)

Definition at line 41 of file dylib_io.h.

◆ IOID_INV

#define IOID_INV   ((ioid) -1)

Definition at line 42 of file dylib_io.h.

Typedef Documentation

◆ ioid

typedef int ioid

Definition at line 39 of file dylib_io.h.

Enumeration Type Documentation

◆ lexclass

enum lexclass
Enumerator
DY_LCNIL 
DY_LCNUM 
DY_LCID 
DY_LCDEL 
DY_LCFS 
DY_LCQS 
DY_LCEOF 
DY_LCERR 

Definition at line 67 of file dylib_io.h.

Function Documentation

◆ dyio_ioinit()

bool dyio_ioinit ( void )
extern

◆ dyio_ioterm()

void dyio_ioterm ( void )
extern

◆ dyio_openfile()

ioid dyio_openfile ( const char * path,
const char * mode )
extern

◆ dyio_isactive()

bool dyio_isactive ( ioid id)
extern

◆ dyio_closefile()

bool dyio_closefile ( ioid id)
extern

◆ dyio_setmode()

bool dyio_setmode ( ioid id,
char mode )
extern

◆ dyio_ttyq()

bool dyio_ttyq ( ioid id)

◆ dyio_chgerrlog()

bool dyio_chgerrlog ( const char * path,
bool echo )
extern

◆ dyio_idtopath()

const char * dyio_idtopath ( ioid id)
extern

◆ dyio_pathtoid()

ioid dyio_pathtoid ( const char * path,
const char * mode )
extern

◆ dyio_mark()

long dyio_mark ( ioid id)
extern

◆ dyio_backup()

bool dyio_backup ( ioid id,
long there )
extern

◆ dyio_scan()

bool dyio_scan ( ioid id,
const char pattern[],
bool rwnd,
bool wrap )
extern

◆ dyio_scanlex()

lex_struct * dyio_scanlex ( ioid id)
extern

◆ dyio_scanstr()

lex_struct * dyio_scanstr ( ioid id,
lexclass stype,
int fslen,
char qschr,
char qechr )

◆ dyio_flushio()

void dyio_flushio ( ioid id,
bool echo )
extern

◆ dyio_outfmt()

void dyio_outfmt ( ioid id,
bool echo,
const char * pattern,
... )

◆ dyio_outchr()

void dyio_outchr ( ioid id,
bool echo,
char chr )

◆ dyio_outfxd()

int dyio_outfxd ( char * buffer,
int fldsze,
char lcr,
const char * pattern,
... )
extern