www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/23/12:16:58

From: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
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
Dj-Gateway: from mailing list djgpp AT delorie DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019