Quote:
Originally Posted by thirumalesh
Hi friends,
I am porting an application which using WIN32_FIND_DATA structure...can anybody let me know how this will be implemented in linux ..
Thanks in Advance....
|
There is no WIN32_FIND_DATA in linux, but there is dirent structure.
Use scandir, opendir, etc. See "man scandir", "man opendir" for more info. Or use some cross-platform API, like Qt 4.
--EDIT--
Reading files in directory example:
http://www.linuxforums.org/forum/lin...s-files-c.html