Make dirfd() publically available. It used on other systems as well it seems.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26466 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2008-07-17 01:01:52 +00:00
parent 441ad0b87e
commit d73327e274
2 changed files with 3 additions and 10 deletions
+3
View File
@@ -40,6 +40,9 @@ void rewinddir(DIR *dir);
void seekdir(DIR *dir, long int loc);
long int telldir(DIR *);
/* Non-POSIX extension to get the FD out of the private DIR */
int dirfd(DIR *dir);
#ifdef __cplusplus
}
#endif