* examples of customized printf
@ 2021-12-28 10:31 Basile Starynkevitch
2022-01-03 17:04 ` Adhemerval Zanella
0 siblings, 1 reply; 2+ messages in thread
From: Basile Starynkevitch @ 2021-12-28 10:31 UTC (permalink / raw)
To: libc-help
Hello all,,
For the RefPerSys project (see http://refpersys.org/ and code on
https://github.com/RefPerSys/refpersys-in-c/ ....) we need several
examples of
Customizing |printf|
We want %V to print RpsValue_t ( intptr_t, when odd it is a tagged
integer, when even and non-null it is a valid pointer to some struct).
Examples of customizing printf for GNU guile could be enough.
Happy new year 2022.
NB. I also dream of finding European partners for RefPerSys within some
HorizonEurope consortium. Then contact me by email (perhaps at office,
CEA LIST, to basile.starynkevitch@cea.fr)
--
Basile Starynkevitch<basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: examples of customized printf
2021-12-28 10:31 examples of customized printf Basile Starynkevitch
@ 2022-01-03 17:04 ` Adhemerval Zanella
0 siblings, 0 replies; 2+ messages in thread
From: Adhemerval Zanella @ 2022-01-03 17:04 UTC (permalink / raw)
To: Basile Starynkevitch, libc-help
On 28/12/2021 07:31, Basile Starynkevitch wrote:
> Hello all,,
>
>
> For the RefPerSys project (see http://refpersys.org/ and code on https://github.com/RefPerSys/refpersys-in-c/ ....) we need several examples of
>
>
> Customizing |printf|
>
>
> We want %V to print RpsValue_t ( intptr_t, when odd it is a tagged integer, when even and non-null it is a valid pointer to some struct).
>
>
> Examples of customizing printf for GNU guile could be enough.
>
>
>
> Happy new year 2022.
You can reference glibc own manual [1] on how to customize the printf. Keep
in mind this is a gnu extension.
[1] https://www.gnu.org/software/libc/manual/html_node/Customizing-Printf.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-03 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-28 10:31 examples of customized printf Basile Starynkevitch
2022-01-03 17:04 ` Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).