On Sat, 09 Dec 2006 04:28:24 GMT, I waved a wand and this message
magically appears in front of Peter "Shaggy" Haywood:
> >In Borland C and Digital Mars C compilers, there's a library function
> >named searchpath() that's not available in Watcom / OpenWatcom
> >libraries. Rather than reinvent the wheel, can anyone point me at a
> >functionally equivalent version complete with sources so I can use
> >it to help with a DOS4GW ****t? Thanks.
>
> I'm not familiar with that function. It would help if you tell us
> what it does.
It's alright, I've managed to duplicate its functionality. Basically it
searches PATH for a given program name. Returns a string if it does,
otherwise it's NULL.
--
http://www.munted.org.uk
You've been eating the cat food again, haven't you?


|