table of contents
- trixie 4.27.0-1
- trixie-backports 4.29.1-1~bpo13+1
- testing 4.29.1-1
- unstable 4.29.1-1
| gnu_get_libc_version(3) | Library Functions Manual | gnu_get_libc_version(3) |
NOM¶
gnu_get_libc_version, gnu_get_libc_release - Obtenir les numéros de version et de publication de la glibc
BIBLIOTHÈQUE¶
Bibliothèque C standard (libc, -lc)
SYNOPSIS¶
#include <gnu/libc-version.h>
const char *gnu_get_libc_version(void); const char *gnu_get_libc_release(void);
DESCRIPTION¶
La fonction gnu_get_libc_version() renvoie une chaîne qui identifie la version de la glibc disponible sur le système.
The function gnu_get_libc_release() returns a string indicating the release status of the glibc version available on the system. This will be a string such as stable.
ATTRIBUTS¶
Pour une explication des termes utilisés dans cette section, consulter attributes(7).
| Interface | Attribut | Valeur |
| gnu_get_libc_version(), gnu_get_libc_release() | Sécurité des threads | MT-Safe |
STANDARDS¶
GNU.
HISTORIQUE¶
glibc 2.1.
EXEMPLES¶
À l'exécution, le programme ci-dessous produit une sortie comme la suivante :
$ ./a.out GNU libc version: 2.8 GNU libc release: stable
Source du programme¶
#include <stdio.h>
#include <stdlib.h>
#include <gnu/libc-version.h>
int
main(void)
{
printf("GNU libc version: %s\n", gnu_get_libc_version());
printf("GNU libc release: %s\n", gnu_get_libc_release());
exit(EXIT_SUCCESS);
}
VOIR AUSSI¶
TRADUCTION¶
La traduction française de cette page de manuel a été créée par Christophe Blaess <https://www.blaess.fr/christophe/>, Stéphan Rafin <stephan.rafin@laposte.net>, Thierry Vignaud <tvignaud@mandriva.com>, François Micaux, Alain Portal <aportal@univ-montp2.fr>, Jean-Philippe Guérard <fevrier@tigreraye.org>, Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>, Julien Cristau <jcristau@debian.org>, Thomas Huriaux <thomas.huriaux@gmail.com>, Nicolas François <nicolas.francois@centraliens.net>, Florentin Duneau <fduneau@gmail.com>, Simon Paillard <simon.paillard@resel.enst-bretagne.fr>, Denis Barbier <barbier@debian.org>, David Prévot <david@tilapin.org>, Cédric Boutillier <cedric.boutillier@gmail.com>, Frédéric Hantrais <fhantrais@gmail.com> et Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>
Cette traduction est une documentation libre ; veuillez vous reporter à la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE.
Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à debian-l10n-french@lists.debian.org.
| 6 septembre 2025 | Pages du manuel de Linux 6.16 |