bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about internal exported symbols


From: Thomas Dickey
Subject: Re: about internal exported symbols
Date: Thu, 4 Dec 2003 10:17:54 -0500 (EST)

On Thu, 4 Dec 2003, Stanislav Ievlev wrote:

> On Wed, Dec 03, 2003 at 07:02:28AM -0500, Thomas Dickey wrote:
> > On Wed, 3 Dec 2003, Stanislav Ievlev wrote:
> >
> > > On Wed, Dec 03, 2003 at 06:19:28AM -0500, Thomas Dickey wrote:
> > > > > >
> > > > > _nc_sigaction
> > > > > _nc_vsscanf
> > > > > _nc_wgetch
> > > >
> > > > ...and some are not exported at all, since they're unused on a given
> > > > platform.  Here's a list obtained using 'nm':
> > > Why not to hide all these unused symbols then?
> >
> > because they all are used.
> >
> > The "_nc_" symbols are for things that cannot be done using the documented
> > interface, but are needed for one reason or another.
> Well, I agree with you.
> But I have to ask some questions, because these functions really undocumented.
> Why ncurses library (or utils) needs empty _nc_memmove() function on 
> platforms with legal memove()?

it doesn't need an empty _nc_memove().  But by placing it in a separate
file, it does need - if that module is added to the library - something,
since the C standard prohibits empty modules.  However, the configure
script doesn't add that file to the library unless memmove() is missing.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]