diff options
author | delphij <delphij@FreeBSD.org> | 2008-04-16 18:59:36 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2008-04-16 18:59:36 +0000 |
commit | 6de397fa88cf56d8b432e839cf7738e7f48da0fc (patch) | |
tree | 8c9b74f319a953968d992cfa91a87e7fe29827a0 /include | |
parent | 71f117505a34b4de451c2ace38b596babde8aca4 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | include/dirent.h | 1 |
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 |