La glibc est un élément essentiel du système GNU/Linux. Il n'existe pas d'alternative.
Si, il existe une alternative sous licence BSD. La libc sur FreeBSD et OpenBSD a été écrite par un certain Todd Miller. Comme elle doit être POSIX, elle doit pouvoir être recompilée sous Linux sans problème.
extrait du man de sprintf sur FB 4.2 : HISTORY
The functions asprintf() and vasprintf() first appeared in the GNU C library. These were implemented by Peter Wemm <peter@FreeBSD.org> in FreeBSD 2.2, but were later replaced with a different implementation from Todd C. Miller <Todd.Miller@courtesan.com> for OpenBSD 2.3.
[^] # Re: La glibc n'appartient pas à GNU
Posté par Blackknight (site web personnel, Mastodon) . En réponse à la dépêche précisions sur le libre. Évalué à 1.
Si, il existe une alternative sous licence BSD. La libc sur FreeBSD et OpenBSD a été écrite par un certain Todd Miller. Comme elle doit être POSIX, elle doit pouvoir être recompilée sous Linux sans problème.
extrait du man de sprintf sur FB 4.2 :
HISTORY
The functions asprintf() and vasprintf() first appeared in the GNU C library. These were implemented by Peter Wemm <peter@FreeBSD.org> in FreeBSD 2.2, but were later replaced with a different implementation from Todd C. Miller <Todd.Miller@courtesan.com> for OpenBSD 2.3.