Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Functions
io.c File Reference
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <bts.h>
Include dependency graph for io.c:

Go to the source code of this file.

Data Structures

struct  bts_stream
 

Macros

#define _BBUFSIZE   (10240 * sizeof(struct bts_rec))
 

Functions

BTSFD bts_open (const char *logname)
 
int bts_seek (BTSFD fd, uint64_t recno)
 
int bts_read (BTSFD fd, struct bts_rec *buf, int maxrec)
 
void bts_close (BTSFD fd)
 

Macro Definition Documentation

#define _BBUFSIZE   (10240 * sizeof(struct bts_rec))

Definition at line 16 of file io.c.

Function Documentation

void bts_close ( BTSFD  fd)

Definition at line 113 of file io.c.

BTSFD bts_open ( const char *  logname)

Definition at line 19 of file io.c.

int bts_read ( BTSFD  fd,
struct bts_rec buf,
int  maxrec 
)

Definition at line 73 of file io.c.

int bts_seek ( BTSFD  fd,
uint64_t  recno 
)

Definition at line 45 of file io.c.