Chapter Contents |
Previous |
Next |
ktell |
Portability: | SAS/C extension |
SYNOPSIS | |
DESCRIPTION | |
RETURN VALUE | |
RELATED FUNCTIONS | |
SEE ALSO |
SYNOPSIS |
#include <lcio.h> unsigned long ktell(FILE *f);
DESCRIPTION |
The
ktell
function returns the RBA of the current record of the stream associated
with the
FILE
object addressed by
f
. If there is no current record when
ktell
is called, an error indication is returned.
For an ESDS, a record's RBA is stored in its key field,
so in general, using
ktell
is not necessary
with an ESDS.
RETURN VALUE |
The
ktell
function returns the RBA of the current record if it is successful,
or
-1UL
if an error occurs.
RELATED FUNCTIONS |
SEE ALSO |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.