cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/14/04:47:46

Date: Tue, 14 Oct 1997 10:46:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Cesar Scarpini Rabak <csrabak AT dce03 DOT ipt DOT br>
cc: djgpp AT delorie DOT com
Subject: Re: How is done the emulation of 'getopt_long' GNU function?
In-Reply-To: <1.5.4.32.19971013202431.006c6d74@dce03.ipt.br>
Message-ID: <Pine.SUN.3.91.971014104556.14214G-100000@is>
MIME-Version: 1.0

On Mon, 13 Oct 1997, Cesar Scarpini Rabak wrote:

> 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.)

GNU packages make a point of including source for any library function
that is not provided by more-or-less standard libraries on Unix
systems.  So every GNU package comes with files getopt.[ch] and
getopt1.c which support the long options functionality.  If you don't
care about GPL/LGPL issue, just lift the code from a source zip of any
GNU package in v2gnu.

- Raw text -


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