xref: /csrg-svn/lib/libcompat/4.1/tell.c (revision 21333)
11992Swnj /*
2*21333Sdist  * Copyright (c) 1980 Regents of the University of California.
3*21333Sdist  * All rights reserved.  The Berkeley software License Agreement
4*21333Sdist  * specifies the terms and conditions for redistribution.
5*21333Sdist  */
6*21333Sdist 
7*21333Sdist #ifndef lint
8*21333Sdist static char sccsid[] = "@(#)tell.c	5.1 (Berkeley) 05/30/85";
9*21333Sdist #endif not lint
10*21333Sdist 
11*21333Sdist /*
121992Swnj  * return offset in file.
131992Swnj  */
141992Swnj 
151992Swnj long	lseek();
161992Swnj 
171992Swnj long tell(f)
181992Swnj {
191992Swnj 	return(lseek(f, 0L, 1));
201992Swnj }
21