[cfe-dev] question about findfirst function when compiled with clang on MacOS
qbin at dolby.com
Fri Jun 5 07:57:12 PDT 2015
Dear clang developers,
I have a question about the API of C library.
Is there a function findfirst which find the specified file ?
I have already included <sys/dir.h>.
My example code is :
Int done ;
Struct ffblk fileblk;
Done = findfirst("*.txt", &fileblk,0 )
When I compiled , the compier complains with " use of undeclared indentifier 'findfirst' ".
Is there a solution about that problem ? Thanks lot ! Looking forward for your reply.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev