[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'tell' is missing from libc6



Brian White <bcwhite@verisim.com> writes:

> It appears the "tell(path)" command is missing from libc6.  What
> should I be using instead?

The only "tell" that I could find in libc-5.4.33 is the following one:

file sysdeps/linux/tell.c:

off_t
tell (int fildes)
{
  return __lseek (fildes, 0, SEEK_CUR);
}

If that is the right function the replacement should be obvious using
the syscall lseek, but you should prefer the use of ftell on FILE* if
possible.

If this is the wrong function you should tell us what tell(path)
is doing, I haven't heard of such a function yet.

        Torsten

-- 
"What a depressingly stupid machine"
                              The Restaurant at the End of the Universe
PGP Public Key is available


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: