querytest

Example command line program to run a query to locate an executable file on Haiku.

To compile run:
gcc qtest.cpp -o qtest -lbe

To use, just run this on the commandline:
qtest filenametofind

This was hacked from the routine in Hare to locate the encoder executables.