BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

ktell - report the position of the read/write pointer

LIBRARY CALL

long int ktell(
   int id)

INPUT

OUTPUT

none

RETURN VALUE

-1 or the current offset depending on whether the operation failed or succeeded.

DESCRIPTION

This function is used to tell the current position within the transport. Depending on the different transport being used the behavior will be different. For a file it calls tell() to locate the offset within the file, but for a shared memory segment it it simply indicates the internal offset.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kutils(3)

COPYRIGHT

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