[cs631apue] overriding the no argument condition in getopt

mseaton mseaton at stevens.edu
Fri Oct 13 11:10:57 EDT 2017


Hello,

I understand setting opterr to zero means that getopt will not report an 
error if no argument is entered, but our options must be able to work in 
both cases, however it still does not allow the program to continue if 
no argument is entered.

Is there something I am missing?
Thanks


More information about the cs631apue mailing list