diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
commit | 3d08cd331c1adcf0d917392f7e527b3f00511748 (patch) | |
tree | 312f0d1e1632f48862f044b8bb87e602dcffb5f9 /man3/gnu_get_libc_version.3 | |
parent | Adding debian version 6.7-2. (diff) | |
download | manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.tar.xz manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.zip |
Merging upstream version 6.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/gnu_get_libc_version.3')
-rw-r--r-- | man3/gnu_get_libc_version.3 | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/man3/gnu_get_libc_version.3 b/man3/gnu_get_libc_version.3 deleted file mode 100644 index e02390e..0000000 --- a/man3/gnu_get_libc_version.3 +++ /dev/null @@ -1,79 +0,0 @@ -'\" t -.\" Copyright (c) 2008, Linux Foundation, written by Michael Kerrisk -.\" <mtk.manpages@gmail.com> -.\" -.\" SPDX-License-Identifier: Linux-man-pages-copyleft -.\" -.TH gnu_get_libc_version 3 2023-10-31 "Linux man-pages 6.7" -.SH NAME -gnu_get_libc_version, gnu_get_libc_release \- get glibc version and release -.SH LIBRARY -Standard C library -.RI ( libc ", " \-lc ) -.SH SYNOPSIS -.nf -.B #include <gnu/libc\-version.h> -.P -.B const char *gnu_get_libc_version(void); -.B const char *gnu_get_libc_release(void); -.fi -.SH DESCRIPTION -The function -.BR gnu_get_libc_version () -returns a string that identifies the glibc version available on the system. -.P -The function -.BR gnu_get_libc_release () -returns a string indicates the release status of the glibc version -available on the system. -This will be a string such as -.IR "stable" . -.SH ATTRIBUTES -For an explanation of the terms used in this section, see -.BR attributes (7). -.TS -allbox; -lbx lb lb -l l l. -Interface Attribute Value -T{ -.na -.nh -.BR gnu_get_libc_version (), -.BR gnu_get_libc_release () -T} Thread safety MT-Safe -.TE -.SH STANDARDS -GNU. -.SH HISTORY -glibc 2.1. -.SH EXAMPLES -When run, the program below will produce output such as the following: -.P -.in +4n -.EX -.RB "$" " ./a.out" -GNU libc version: 2.8 -GNU libc release: stable -.EE -.in -.SS Program source -\& -.\" SRC BEGIN (gnu_get_libc_version.c) -.EX -#include <stdio.h> -#include <stdlib.h> -\& -#include <gnu/libc\-version.h> -\& -int -main(void) -{ - printf("GNU libc version: %s\en", gnu_get_libc_version()); - printf("GNU libc release: %s\en", gnu_get_libc_release()); - exit(EXIT_SUCCESS); -} -.EE -.\" SRC END -.SH SEE ALSO -.BR confstr (3) |