Question about C Programming.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Question about C Programming.
- From: Ravi Sankar <ravisankar.g@xxxxxxxxx>
- Date: Thu, 5 Mar 2009 12:49:56 +0530
Hi,
I would like to know how can I get the function name of the caller in c?.
Like
// c code
void foo(void)
{
bar();
}
void bar(void)
{
// who is my caller?
}
I
don't want to change the caller function code to add arguments etc.
Even I don't have access to the caller function source code.
Thanks for your help.
--
--,
BR,
Ravi Sankar Guntur.
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]