User Login
About Us
Services
Spam Filtering
Location
Hours
Staff
Prices
Sample Bill
Policies
Wireless INternet
Network Settings
FAQ
Troubleshooting
Qmail Manual
Mutt Manual
CGI Scripts
Web Page Help
Users's Homepages
Businesses
Virtual Domains

Miscellaneous General Info Technical Support Hosted Sites

Qmail Manual





direntry(3)            C Library Functions            direntry(3)



NAME
     direntry - read directory entries

SYNTAX
     #include <direntry.h>

     DIR *opendir(fn);

     struct direntry *readdir(dir);

     void closedir(dir);

     DIR *dir;
     char *fn;

DESCRIPTION
     The point of direntry.h is to provide a uniform interface to
     BSD's sys/dir.h and POSIX's dirent.h.

     The readdir interface is highly unsatisfactory.  It does not
     distinguish  between  I/O  errors  and end-of-directory.  It
     uses malloc.  The return  type  for  closedir  varies:  some
     implementations return the close return value.

SEE ALSO
     readdir(3)