Passing parameters with options to a C program

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

 



I need to pass some parameters to a C prorgam, but in the form 
	<program_name> -i <input_file> -o <output_file> .....

There is another way than inspecting the String[] that comes 
as parameter in main ?????
If it is, please let me know, because i think it's better 
than my solution!! ;-))

Regards,

javier f.



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux