www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/02/06:46:26

Date: Tue, 2 May 2000 13:20:21 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Jeff Williams <jeffw AT darwin DOT sfbr DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: how to implement a `hook'?
In-Reply-To: <200005011645.LAA08102@darwin.sfbr.org>
Message-ID: <Pine.SUN.3.91.1000502132003.21668I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 1 May 2000, Jeff Williams wrote:

> What does it mean to implement a `hook', e.g. to add a `hook' in
> foo.c?  Can someone point me to an instructive example from a
> DJGPP port of a GNU package?

Details, please.  What kind of hook do you have in mind?

If you are talking about the Filesystem Extensions (as would be my
best guess), you can find a working example in Fileutils (file
ls-msdos.c) and in Texinfo (file pcterm.c).  The former shows how to
extend output functionality, while the latter deals with input.

- Raw text -


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