Spelling fixes.
[wine/multimedia.git] / tools / findfunc
blob111aabacb5af3de8332423018064f0670b1d2a04
1 #!/bin/sh
2 name="$1"
3 if [ "$name" = "" ] ; then
4 echo -n 'Function: '
5 read name;
6 fi
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