Static Function Invocation Thru Pointer

Henry Spencer henry at zoo.toronto.edu
Sun Mar 3 11:06:06 AEST 1991


In article <1991Mar3.002250.26164 at agate.berkeley.edu> labc-1ia at web-3g.berkeley.edu (Andrew M. Choi) writes:
>Hi.  This article is about the question of invoking a static
>function in another file through the use of pointer to
>function...

That is perfectly legitimate.  If you can get a pointer to it, you can
call it.  "static" just means that the *name* is not visible outside the
file where it is defined.
-- 
"But this *is* the simplified version   | Henry Spencer @ U of Toronto Zoology
for the general public."     -S. Harris |  henry at zoo.toronto.edu  utzoo!henry



More information about the Comp.lang.c mailing list