From: Cesar Scarpini Rabak Newsgroups: comp.os.msdos.djgpp Subject: How is done the emulation of 'getopt_long' GNU function? Date: 23 Oct 1997 07:02:47 GMT Organization: None provided Lines: 18 Message-ID: <62msqn$rc0$3@195.26.68.19> NNTP-Posting-Host: 195.26.68.19 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Dj-Gateway: from mailing list djgpp AT delorie DOT com Precedence: bulk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi folks, One recent project of ours was completed in Linux and made use of getopt_long. Browsing the DJGPP libc info file, we cannot find its sister for MS-DOS. Since a lot of GNU software was ported that has the long options, we are wondering how were the ports done (emulating the functionality on a case by case basis, same function with another name, etc.) TIA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-3522 Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~