delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/09/11:27:52

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Thu, 9 Aug 2001 11:28:00 -0400
MIME-Version: 1.0
Subject: Re: TIOCGWINSIZE idea
Message-ID: <3B7273C0.26572.48D83B@localhost>
References: <3B7189D1 DOT 14369 DOT 5D0609 AT localhost>
In-reply-to: <Pine.SUN.3.91.1010809091349.7420F-100000@is>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

> I think it's okay to initialize termios in a static constructor, but
> if none of the termios functions are called by the application, how
> are we gonna make sure termios functions, including the initializer,
> get linked into the executable in the first place?

In the case of ncurses, it does use termios but it may or may not be called 
depending on the code path. Since the library uses the termios emulation in 
some place, the termios emulation will be included in any exe using ncurses.

Mark


- Raw text -


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