Commit | Line | Data |
---|---|---|
bb0cfa24 DF |
1 | /* |
2 | * Copyright (c) 1983 Regents of the University of California. | |
d99e6414 KB |
3 | * All rights reserved. |
4 | * | |
269a7923 | 5 | * %sccs.include.redist.c% |
bb0cfa24 DF |
6 | */ |
7 | ||
2ce81398 | 8 | #if defined(LIBC_SCCS) && !defined(lint) |
269a7923 | 9 | static char sccsid[] = "@(#)seekdir.c 5.7 (Berkeley) %G%"; |
d99e6414 | 10 | #endif /* LIBC_SCCS and not lint */ |
07063983 | 11 | |
c4a04593 | 12 | #include <sys/param.h> |
8c6e64bc | 13 | #include <dirent.h> |
07063983 KM |
14 | |
15 | /* | |
653b260e KM |
16 | * Seek to an entry in a directory. |
17 | * _seekdir is in telldir.c so that it can share opaque data structures. | |
07063983 KM |
18 | */ |
19 | void | |
67d6a82e | 20 | seekdir(dirp, loc) |
653b260e | 21 | DIR *dirp; |
67d6a82e | 22 | long loc; |
07063983 | 23 | { |
0ba12054 | 24 | |
653b260e | 25 | _seekdir(dirp, loc); |
07063983 | 26 | } |