xref: /csrg-svn/lib/libcompat/4.1/tell.c (revision 61240)
148368Sbostic /*-
2*61240Sbostic  * Copyright (c) 1980, 1993
3*61240Sbostic  *	The Regents of the University of California.  All rights reserved.
448368Sbostic  *
548368Sbostic  * %sccs.include.proprietary.c%
621333Sdist  */
721333Sdist 
826521Sdonn #if defined(LIBC_SCCS) && !defined(lint)
9*61240Sbostic static char sccsid[] = "@(#)tell.c	8.1 (Berkeley) 06/04/93";
1048368Sbostic #endif /* LIBC_SCCS and not lint */
1121333Sdist 
1221333Sdist /*
131992Swnj  * return offset in file.
141992Swnj  */
151992Swnj 
161992Swnj long	lseek();
171992Swnj 
tell(f)181992Swnj long tell(f)
191992Swnj {
201992Swnj 	return(lseek(f, 0L, 1));
211992Swnj }
22