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