summaryrefslogtreecommitdiffstats
path: root/libc/include
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2014-11-12 20:36:25 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-12 20:36:26 +0000
commite5cabca516252addb5e305c8e1e0f35cafbcafbe (patch)
tree14bd9f3daf5fd217f97edcaee315dcb9171f0beb /libc/include
parentbbdfa518830d49565966acea02796769434e0d74 (diff)
parent5ca4a9e2da46db30ad6d8556b61679d138aaf88d (diff)
downloadbionic-e5cabca516252addb5e305c8e1e0f35cafbcafbe.zip
bionic-e5cabca516252addb5e305c8e1e0f35cafbcafbe.tar.gz
bionic-e5cabca516252addb5e305c8e1e0f35cafbcafbe.tar.bz2
Merge "implement missing seekdir and telldir"
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/dirent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/dirent.h b/libc/include/dirent.h
index 4ca3a7d..63716a4 100644
--- a/libc/include/dirent.h
+++ b/libc/include/dirent.h
@@ -76,6 +76,8 @@ extern int readdir_r(DIR*, struct dirent*, struct dirent**);
extern int readdir64_r(DIR*, struct dirent64*, struct dirent64**);
extern int closedir(DIR*);
extern void rewinddir(DIR*);
+extern void seekdir(DIR*, long);
+extern long telldir(DIR*);
extern int dirfd(DIR*);
extern int alphasort(const struct dirent**, const struct dirent**);
extern int alphasort64(const struct dirent64**, const struct dirent64**);