Re: global variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




paridhi bansal wrote:

Hi

I have multiple c files in  my project. How is it
possible to declare static global variables  that are
accessible from all these files without passing them
as arguements??

Paridhi
What about the symboltable ?
Can you export your data to there ?
you can get the startadress from there
and adress the data from inside your c modules.

bye
edwin



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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]
  Powered by Linux