* cygwin.din: Add `dirfd'.

* dir.cc (dirfd): New function.
        (opendir): Open a directory file descriptor and save it in
        __d_dirent->d_fd.
        (closedir): Close directory file descriptor.
        * include/cygwin/version.h: Bump API minor version to 44.
This commit is contained in:
Corinna Vinschen
2001-09-03 16:36:54 +00:00
parent 6d47f33adb
commit a71aee46c4
4 changed files with 30 additions and 1 deletions

View File

@ -141,10 +141,11 @@ details. */
41: __signgam
42: sys_errlist, sys_nerr
43: sigsetjmp, siglongjmp fixed
44: Export dirfd
*/
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 43
#define CYGWIN_VERSION_API_MINOR 44
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible