unix equivalent for windows APIs..........................

Hi,

Is there any unix equivalents available for the folllowing windows function ?

FindFirstFile
FindNextFile etc.....

Or do i have to write an equivalent api??

Can anybody help me to do the same??

thanks in advance

Ani

what do these functions do?

If you are asking how to access a directory listing, then in HP-UX you would use the dirent.h header (man dirent)

The functions allows you to open the directory file and step through the entries one by one.

MBB

have a look at these...

http://docs.hp.com/cgi-bin/otsearch/getfile?top=/hpux/onlinedocs/B3921-90010/B3921-90010_top.html&id=/hpux/onlinedocs/B3921-90010/00/20/2072-con.html&searchterms=dirent.h

http://docs.hp.com/hpux/onlinedocs/B3921-90010/00/13/1318-con.html