Path: utzoo!attcan!uunet!cos!hqda-ai!media!rmf From: rmf@media.uucp (Roger Fujii) Newsgroups: comp.lang.c Subject: Type of function returning function. Message-ID: <1990Jul10.024205.17382@media.uucp> Date: 10 Jul 90 02:42:05 GMT Organization: Media Cybernetics, Inc. Lines: 22 So, just how does one type a function returning a pointer to a function? (other than the obvious void *) Example: int foo(buff) char *buff; { return atoi(buff); } TYPE bar() { return foo; } I would have thought that it would be something like int ((*)()), but gcc doesn't agree. Help... -- Roger Fujii - Media Cybernetics Phone: (301)495-3305 Internet: rmf%media@uunet.uu.net UUCP: {uunet,hqda-ai}!media!rmf