pos()
public
Returns the current position in dir. See also Dir#seek.
d = Dir.new("testdir")
d.tell
d.read
d.tell
static VALUE
dir_tell(VALUE dir)
{
#ifdef HAVE_TELLDIR
struct dir_data *dirp;
long pos;
GetDIR(dir, dirp);
pos = telldir(dirp->dir);
return rb_int2inum(pos);
#else
rb_notimplement();
#endif
}