wine/tools/findfunc
Vincent Béron c075f35e1a Show in which file the function is actually implemented, as well as
the header in which it is defined.
2002-06-02 21:16:58 +00:00

15 lines
317 B
Bash
Executable File

#!/bin/sh
name="$1"
if [ "$name" == "" ] ; then
echo -n 'Function: '
read name;
fi
while [ "$name" != "" ]
do
find $(dirname $0)/../ -name \*.spec | xargs -l1024 grep -i $name
find $(dirname $0)/../ -name \*.[ch] | xargs grep -i "WINAPI[[:space:]]\+$name"
echo -n 'Function: '
read name
done