This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Source C-code for shell (bash) that processes an asterisk as a special symbol
On Sat, May 27, 2006 at 08:34:53PM +0300, Alex Vinokur wrote:
>"Eric Blake" <ericblake@comcast.net> wrote in message
>052720061303.17205.44784E19000C02B70000433522007374780A050E040D0C079D0A@comcast.net">news:052720061303.17205.44784E19000C02B70000433522007374780A050E040D0C079D0A@comcast.net...
>> > Is there any free source C-code on Cygwin that implements "wildcard processing"?
>>
>> Yes - POSIX requires, and cygwin1.dll provides, glob().
>> http://www.opengroup.org/onlinepubs/009695399/functions/glob.html
>>
>
>Thanks.
>Also
>http://www.devdaily.com/scw/c/cygwin/src/newlib/libc/sys/linux/include/glob.h.shtml
>
>But I didn't fint out glob.c on Cygwin.
You aren't looking too hard, then.
However, just *use* the function like you would any other function.
There is no need to locate the source code to use it. You don't need
open.c to use open.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/