(Answer) (Category) SCO comp.unix.sco.programmer FAQ. : (Category) SCO Development Environments. :
How do I read or traverse directories within a program?
ftw(S) will traverse and recurse a path, calling a function of your creation on each object found.

If you just want to open a directory and read it, you must use the functions described in directory(S) such as opendir(S) and readdir(S). In OpenServer, you can no longer read directories like a file.
robertlipe@usa.net

[Append to This Answer]
Previous: (Answer) Link errors on functions like gethostbyaddr, gethostbyname
Next: (Answer) How can I detect null references in my program?
This document is: http://www.zenez.com/cgi-bin/scoprogfaq/faq?file=13
[Search] [Appearance]
This is a Faq-O-Matic 2.721.