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

where are argc, argv?



Hello,

I guess, libc passes arguments to a main() function. Does anybody know
when they are evaluated? Where are they stored (i.e. argument count,
pointer to arguments and pointer to env. variables)? For ex, as far as I
know environment variables reside somewhere at the very end of the
address space of a process. 

-- 
Muzaffer Ozakca
Researcher/Software Engineer  -  muzaffer.ozakca@bilten.metu.edu.tr
TUBITAK-Bilten-ODTU - Communications Systems and Comp. Networks Group
ODTU, Ankara, Turkey
http://www.bilten.metu.edu.tr   tel: +90-312-210 1311
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/