xref: /csrg-svn/lib/libcompat/4.1/tell.c (revision 26521)
11992Swnj /*
221333Sdist  * Copyright (c) 1980 Regents of the University of California.
321333Sdist  * All rights reserved.  The Berkeley software License Agreement
421333Sdist  * specifies the terms and conditions for redistribution.
521333Sdist  */
621333Sdist 
7*26521Sdonn #if defined(LIBC_SCCS) && !defined(lint)
8*26521Sdonn static char sccsid[] = "@(#)tell.c	5.2 (Berkeley) 03/09/86";
9*26521Sdonn #endif LIBC_SCCS and not lint
1021333Sdist 
1121333Sdist /*
121992Swnj  * return offset in file.
131992Swnj  */
141992Swnj 
151992Swnj long	lseek();
161992Swnj 
171992Swnj long tell(f)
181992Swnj {
191992Swnj 	return(lseek(f, 0L, 1));
201992Swnj }
21