|
|
1.1 root 1: /* Copyright (c) 1982 Regents of the University of California
2: * and modified by pjw in 1987 */
3:
4: #include "ndir.h"
5:
6: /*
7: * return a pointer into a directory
8: * see seekdir.c for an explanation of the return value
9: */
10: long
11: telldir(dirp)
12: DIR *dirp;
13: {
14: return(DIRBLKSIZ * dirp->dd_offset + dirp->dd_loc);
15: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.