1

passing argument to a program

view story
linux-howto

http://ubuntuforums.org – Hey, When I type at the shell saying Code: $./Name_Of_My_Executable this is a list of arguments It goes inside the main as Code: int main(int argc, char** argv) { } Who makes sure that the count of arguments goes to int argc and that *argv holds "the" and *(argv+1) holds "is" etc. ? Is it the the shell itself ? Thanks. (Hardware)