DREADC C-3

NAME

dreadc - read the current record

SYNOPSIS

#include <cbase/dirio.h>

rno_t dreadc (buffer, fcb)

char *buffer;

DFILE *fcb;

DESCRIPTION

Dreadc reads the current record into buffer.

Fcb is the file block pointer returned by dlopen(C-3) or dopen(C-3).

SEE ALSO

dlopen(C-3), dopen(C-3), dread(C-3)

Chapter 4,

RMS Programming Guide

DIAGNOSTICS

Dreadc returns a value of BAD (-1) if a current record was not defined at the time of the call or if an I/O error occurred.