Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!hc!beta!cmcl2!acf4!woo From: woo@acf4.UUCP (Alex C. Woo) Newsgroups: comp.lang.c Subject: Can a subfunction find the name of the calling function? Message-ID: <12620001@acf4.UUCP> Date: Tue, 28-Apr-87 21:07:00 EDT Article-I.D.: acf4.12620001 Posted: Tue Apr 28 21:07:00 1987 Date-Received: Sat, 2-May-87 10:07:15 EDT Organization: New York University Lines: 11 Is there anything comparable to getarg and iargc for subroutines or functions? How can a function determine the name of the function which calls it or the number of calling arguments, either in C or f77? Alex Woo woo@acf4.nyu.edu wooa@nyuacf.bitnet seismo!cmcl2!acf4!woo