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: Wed, 3 Dec 2003 07:02:28 -0500 (EST)

On Wed, 3 Dec 2003, Stanislav Ievlev wrote:

> On Wed, Dec 03, 2003 at 06:19:28AM -0500, Thomas Dickey wrote:
> > > >
> > > > (there are internal functions exported for tic, infocmp - but that's
> > > > not the example you gave).
> > >
> > > Well, but some of these internal exported functions are never used,
> > > neither by ncurses libraries nor by ncurses utils:
> > > _nc_Copy_Argument
> > > _nc_expanded
> > > _nc_freeall
> > > _nc_free_entries
> > > _nc_get_locale
> > > _nc_insert_ch
> > > _nc_memmove
> > > _nc_msec_cost
> > > _nc_outstr
> > > _nc_read_termcap
> > > _nc_screen_resume
> > > _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.

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




reply via email to

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