Can Getopt's stderr message be turned off?

Eric D. Hendrickson eric at ux.acss.umn.edu
Sat Dec 23 21:12:18 AEST 1989


Hi, I am using getopt and in cases where it is given an illegal (unknown)
option, it returns an error message to stderr.  I would rather have it
ignore these, and not give any error message.  Is it possible to somehow
prevent this?

	Yours,
		Eric Hendrickson
p.s.  Thanks to all who responded to my last question!  (regarding detecting
whether argv[1] is an integer or not)  I received many very helpful 
suggestions.
-- 
/---------"Oh carrots are divine, you get a dozen for dime, its maaaagic."---
|Eric (the "Mentat-Philosopher") Hendrickson	      University of Minnesota
|1 Lind Hall; 207 Church Street S.E.,          Internet: eric at ux.acss.umn.edu
|Minneapolis, MN  55455	  USA	    612/625-0801	   The game is afoot!



More information about the Comp.lang.c mailing list