xref: /original-bsd/lib/libc/gen/seekdir.c (revision c3e32dec)
1 /*
2  * Copyright (c) 1983, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #if defined(LIBC_SCCS) && !defined(lint)
9 static char sccsid[] = "@(#)seekdir.c	8.1 (Berkeley) 06/04/93";
10 #endif /* LIBC_SCCS and not lint */
11 
12 #include <sys/param.h>
13 #include <dirent.h>
14 
15 /*
16  * Seek to an entry in a directory.
17  * _seekdir is in telldir.c so that it can share opaque data structures.
18  */
19 void
20 seekdir(dirp, loc)
21 	DIR *dirp;
22 	long loc;
23 {
24 
25 	_seekdir(dirp, loc);
26 }
27