From b717fb9f083afdfbc50a14ced6ddc971ca583f02 Mon Sep 17 00:00:00 2001 From: pjd Date: Sun, 18 Aug 2013 20:11:34 +0000 Subject: Implement fdclosedir(3) function, which is equivalent to the closedir(3) function, but returns directory file descriptor instead of closing it. Submitted by: Mariusz Zaborski Sponsored by: Google Summer of Code 2013 --- include/dirent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dirent.h b/include/dirent.h index 941a977..d0b0a9a 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -79,6 +79,7 @@ int dirfd(DIR *); #endif #if __BSD_VISIBLE DIR *__opendir2(const char *, int); +int fdclosedir(DIR *); int getdents(int, char *, int); int getdirentries(int, char *, int, long *); #endif -- cgit v1.1