home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / POSIXDIR.LZH / POSIXDIR.DOC < prev    next >
Text File  |  1993-03-17  |  795b  |  30 lines

  1.  
  2. POSIX directory stuff for Cset/2
  3.  
  4. by Joe DeRosa 3/22/93 (1:141/42@fidonet.org)
  5.  
  6. released in the public domain
  7.  
  8. if you use this code you accept ALL responsibility for anything that
  9. happens.
  10.  
  11. These 6 routines are available on several compilers that I have used,
  12. including several unix compilers and a couple of DOS compilers so I
  13. decided to port them to OS/2 here they are.
  14.  
  15. They are free, but if you wish to throw money, thankyous, bugs
  16. Joe DeRosa
  17. Box 93
  18. Milford CT 06460
  19.  
  20. complaints > /dev/nul
  21.  
  22. DIR          *opendir (char  *dname);
  23. struct dirent *readdir (DIR  *dir);
  24. int          closedir (DIR  *dir);
  25. void          rewinddir(DIR  *dir);
  26. long          telldir(DIR *dir);
  27. void          seekdir(DIR *dir,long loc);
  28.  
  29. For documentation see the source I don't feel like writing any.
  30.