I found the following declaration in the lsh source:
int (*builtin_func[]) (char **) = {
&lsh_cd,
&lsh_help,
&lsh_exit
};
I'm relatively new to C, but the (*builtin_func[]) (char **)
looks very odd. What does it mean?
(I'm more interested in the declaration, not the purpose of the code.)