Re: Where is function tell()

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Thu, 08 Apr 1999 17:33:21 -0400


In message <Pine.LNX.4.04.9904081548430.2247-100000@ps.cus.umist.ac.uk>, Riley
Williams writes:
+-----
| > I am now unable to compile my programs which use the 'tell()'
| > function to get the position within a file.
|
| I thought it was ftell() that did that? Certainly, "man ftell" on this
| RedHat system gives full details...
+--->8

tell(fd) was an ancient and no longer supported function which was equivalent
to lseek(fd, 0L, 1).

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
     We are Linux. Resistance is an indication that you missed the point.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/