Hi, I just added a change to libc/sys/cygwin/sys/dirent.h to allow a new functionality in Cygwin. It will provide a `dirfd' function from the next version on. Corinna -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com