summaryrefslogtreecommitdiffstats
path: root/include/dirent.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2008-04-16 18:59:36 +0000
committerdelphij <delphij@FreeBSD.org>2008-04-16 18:59:36 +0000
commit6de397fa88cf56d8b432e839cf7738e7f48da0fc (patch)
tree8c9b74f319a953968d992cfa91a87e7fe29827a0 /include/dirent.h
parent71f117505a34b4de451c2ace38b596babde8aca4 (diff)
downloadFreeBSD-src-6de397fa88cf56d8b432e839cf7738e7f48da0fc.zip
FreeBSD-src-6de397fa88cf56d8b432e839cf7738e7f48da0fc.tar.gz
Implement fdopendir(3) by splitting __opendir2() into two parts, the upper part
deals with the usual __opendir2() calls, and the rest part with an interface translator to expose fdopendir(3) functionality. Manual page was obtained from kib@'s work for *at(2) system calls.
Diffstat (limited to 'include/dirent.h')
-rw-r--r--include/dirent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dirent.h b/include/dirent.h
index 3c2f071..63626b5 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -100,6 +100,7 @@ int getdents(int, char *, int);
int getdirentries(int, char *, int, long *);
#endif
DIR *opendir(const char *);
+DIR *fdopendir(int);
struct dirent *
readdir(DIR *);
#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >= 500
OpenPOWER on IntegriCloud