>int fd;
>DIR *dp;
>
>if ((fd=dirfd(dp=opendir("/my/dir"))) == -1) {
>/*fail*/
>}Well, this code cannot tell the difference between "this implementation does not use file descriptors for directory streams" and "directory stream open failed". Casper _______________________________________________ opensolaris-discuss mailing list [email protected]
