8 lines
103 B
C
8 lines
103 B
C
|
#include <dirent.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
long telldir(DIR *dp)
|
||
|
{
|
||
|
return lseek(dp->fd, 0, SEEK_CUR);
|
||
|
}
|