klseek - move read/write pointer of a transport descriptor
LIBRARY CALL
off_t klseek(
int id,
off_t offset,
int whence)
INPUT
id - the id of the object to be seeked.
offset - the offset in which to seek
whence - the control of how the offset will be applied
OUTPUT
none
RETURN VALUE
-1 or the new seeked position within the transport
DESCRIPTION
This function is used to seek the transport. Depending
on the different transport being used the behavior
will be different. For a file it calls lseek() to
lock the file, but for a shared memory segment it
it simply resets the internal offset pointer.