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

Defined functions

Defined variables

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