winegcc: Add support for specifying a custom static library suffix.
[wine] / tools / findfunc
1 #!/bin/sh
2 name="$1"
3 if [ "$name" = "" ] ; then
4     echo -n 'Function: '
5     read name;
6 fi
7
8 while [ "$name" != "" ]
9 do
10     find $(dirname $0)/../ -name \*.spec | xargs -l1024 grep -i $name
11     find $(dirname $0)/../ -name \*.[ch] | xargs grep -i "WINAPI[[:space:]]\+$name"
12     echo -n 'Function: '
13     read name
14 done