On Tue, 22 Sep 1998, Antonis Kanavouras wrote:

->      my C books are too old- no reference to getopt(). 
->      till today I wrote loops from scratch to manipulate comnd line options
->      ~# man 3 getopt makes me more confused

Try the glibc info pages ( Ctrl -H, I from Emacs, then browse to glibc /
Process Startup / Program Arguments / Parsing Options / )

->      Any simple  source files for example ?
->

There is a nice example too. U may find useful some simple option parsing
program sources ( ping , traceroute).

BTW any security FAQ proposes avoiding getopt() but this is hard to
achieve...

Regards,

        Marin



       "Knowledge is not a crime. Some of its applications are..."

                                                         - Unknown hacker


Reply via email to