getopt()/egetopt()

Phill Everson everson at CompSci.Bristol.AC.UK
Tue Jun 13 21:09:44 AEST 1989


Following the getopt()/egetopt() discussions here in early 1988 ...

2 questions about getopt()/egetopt() ...

1) Is there any way of allowing getopt() to parse the following:
		foo -Wt name -x a ...
2) Or
		foo -x a b -y a ...

Obviously, I want to be able to combine the above. I suspect 2) is
possible with getopt() somehow, but for 1) it may be necessary to
modify egetopt(). Has anyone done this before or has anyone any ideas
about how it could be done?

I'd prefer email ...

Thanks in advance,

Phill Everson
Medical Imaging
Dept Comp Sci
University of Bristol, UK



More information about the Comp.lang.c mailing list