[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NCurses APIs available for use
From: |
Thomas Dickey |
Subject: |
Re: NCurses APIs available for use |
Date: |
Fri, 26 Apr 2024 18:54:05 -0400 |
On Fri, Apr 26, 2024 at 10:57:15AM +0000, Zaki, Ahmed wrote:
>
>
> On 26 Apr 2024, at 11:53, Zaki, Ahmed
> <a.zaki19@imperial.ac.uk<mailto:a.zaki19@imperial.ac.uk>> wrote:
>
> I believe their were around 748 symbols exported.
...but the count for _nc_ names (which you appear to be concerned about)
is not close to that. The symbols used in the API are roughly that total --
counting the "_sp" functions. The test/README file has a table showing
the names that I'm referring to as the API.
Besides the script which generates that table, I have another script
which checks if all of those names are mentioned in the manpages.
It doesn't report that any are missing...
> I should clarify here that this is the sum of exports from libncurses.so,
> libform.so, libmenus.so and libpanel.so
The utilities (in a quick count) use 57 of the _nc_ symbols.
The libraries add another 97 symbols to connect modules.
That's about three quarters of all _nc_ symbols (the distinct
names in package/*.sym total 213, but that total is for 4 different
library configurations).
The remaining _nc_ symbols would be hidden if using versioned symbols,
because the ".map" files _do_ that. I'm aware that some packagers
don't bother to configure that, but it's been part of ncurses since
release 6.0, and works for any so-called "modern" system
https://invisible-island.net/ncurses/ncurses-mapsyms.html
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature