the first :
hello,everyone.I want to ask a question.
getopt(argc,argv,":if:lr"). I have seen the samle.But mainly the second : I want to ask the first : meaning what? Thank you very much! |
Quote:
What version/distro of Linux? What programming language are you using in this instance? |
c programming language...
the ":" in the function getopt(argc,argv,":if:lr"); I have know the second ":" in the function getopt but I don't know the first ":" in the function. Thank you very much... |
up anyone know the answer?
|
Quote:
You've posted in Linux > Newbie but you question is not about Linux, it is as you say, about the C programming language. You might be using Linux but you could be using any operating system and you would still be asking a question about C, not about the operating system you are using. There's a programming section at http://www.linuxquestions.org/questions/programming-9/ Or maybe you'd get help at somewhere like http://forums.devshed.com/c-programming-42/ http://cboard.cprogramming.com/ |
I think the OP is asking what does the first ":" mean in the argument optstring ":if:lr".
http://opengroup.org/onlinepubs/0096...ns/getopt.html Quote:
|
Quote:
If it's that urgent, check Google.... |
All times are GMT -5. The time now is 03:01 AM. |