Added_CS_GNU_LIBC_VERSION and_CS_GNU_LIBPTHREAD_VERSION.

This commit is contained in:
Michael Kerrisk 2005-05-09 10:53:56 +00:00
parent 0359df8c95
commit 5984622e7b
1 changed files with 12 additions and 3 deletions

View File

@ -21,10 +21,11 @@
.\" the source, must acknowledge the copyright and authors of this work. .\" the source, must acknowledge the copyright and authors of this work.
.\" License. .\" License.
.\" Modified Sat Jul 24 19:53:02 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Sat Jul 24 19:53:02 1993 by Rik Faith (faith@cs.unc.edu)
.\" FIXME Since about glibc 2.3.2, many more values for 'name' are .\" FIXME Many more values for 'name' are supported, some of which
.\" supported, some of which are documented under 'info confstr'. .\" are documented under 'info confstr'.
.\" See <bits/confname.h> for the rest. .\" See <bits/confname.h> for the rest.
.\" These should all be added to this page. .\" These should all be added to this page.
.\" See also the SUSv3 specification of confstr()
.TH CONFSTR 3 1993-04-17 "GNU" "Linux Programmer's Manual" .TH CONFSTR 3 1993-04-17 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
confstr \- get configuration dependent string variables confstr \- get configuration dependent string variables
@ -47,6 +48,14 @@ The
argument is the system variable to be queried. argument is the system variable to be queried.
The following variables are supported: The following variables are supported:
.TP .TP
.BR _CS_GNU_LIBC_VERSION " (GNU C library only; since glibc 2.3.2)"
A string which identifies the GNU C library version on this system
(e.g, "glibc 2.3.4").
.TP
.BR _CS_GNU_LIBPTHREAD_VERSION " (GNU C library only; since glibc 2.3.2)"
A string which identifies the POSIX implementation supplied by this
C library (e.g, "NPTL 2.3.4" or "linuxthreads-0.10").
.TP
.B _CS_PATH .B _CS_PATH
A value for the A value for the
.B PATH .B PATH