xref: /original-bsd/lib/libc/gen/seekdir.c (revision 91abda3c)
1 /*
2  * Copyright (c) 1983 Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #if defined(LIBC_SCCS) && !defined(lint)
9 static char sccsid[] = "@(#)seekdir.c	5.7 (Berkeley) 06/01/90";
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