1: static char sccsid[] = "@(#)telldir.c 4.1 2/21/82";
   2: 
   3: #include <sys/types.h>
   4: #include <ndir.h>
   5: 
   6: extern  long    lseek();    /* needed for pdp 11s -- ikonas!mcm */
   7: 
   8: /*
   9:  * return a pointer into a directory
  10:  */
  11: long
  12: telldir(dirp)
  13:     DIR *dirp;
  14: {
  15:     return (lseek(dirp->dd_fd, 0L, 1) - dirp->dd_size + dirp->dd_loc);
  16: }

Defined functions

telldir defined in line 11; used 1 times

Defined variables

sccsid defined in line 1; never used
Last modified: 1986-01-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 716
Valid CSS Valid XHTML 1.0 Strict