BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kftell - report current position in the data transport stream

LIBRARY CALL

long int kftell(
   kfile *file)

INPUT

OUTPUT

none

RETURN VALUE

0 on success, -1 on failure

DESCRIPTION

This function is a replacement for the system "ftell" call; kftell() supports all khoros data transport mechanisms, not just Unix files.

This function is used to check the current position of the data transport pointer within the data transport stream.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/kstdio.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.