summaryrefslogtreecommitdiffstats
path: root/man3/confstr.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/confstr.3')
-rw-r--r--man3/confstr.319
1 files changed, 9 insertions, 10 deletions
diff --git a/man3/confstr.3 b/man3/confstr.3
index 5efd862..4a04a25 100644
--- a/man3/confstr.3
+++ b/man3/confstr.3
@@ -11,7 +11,7 @@
.\" These should all be added to this page.
.\" See also the POSIX.1-2001 specification of confstr()
.\"
-.TH confstr 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH confstr 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
confstr \- get configuration dependent string variables
.SH LIBRARY
@@ -20,15 +20,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <unistd.h>
-.PP
+.P
.BI "size_t confstr(int " "name" ", char " buf [. size "], size_t " size );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR confstr ():
.nf
_POSIX_C_SOURCE >= 2 || _XOPEN_SOURCE
@@ -36,7 +36,7 @@ Feature Test Macro Requirements for glibc (see
.SH DESCRIPTION
.BR confstr ()
gets the value of configuration-dependent string variables.
-.PP
+.P
The
.I name
argument is the system variable to be queried.
@@ -55,7 +55,7 @@ A value for the
.B PATH
variable which indicates where all the POSIX.2 standard utilities can
be found.
-.PP
+.P
If
.I buf
is not NULL and
@@ -71,7 +71,7 @@ This can be detected by comparing the return value of
.BR confstr ()
against
.IR size .
-.PP
+.P
If
.I size
is zero and
@@ -91,7 +91,7 @@ This value may be greater than
which means that the value in
.I buf
is truncated.
-.PP
+.P
If
.I name
is a valid configuration variable,
@@ -126,7 +126,6 @@ T{
.BR confstr ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY
@@ -134,7 +133,7 @@ POSIX.1-2001.
.SH EXAMPLES
The following code fragment determines the path where to find
the POSIX.2 system utilities:
-.PP
+.P
.in +4n
.EX
char *pathbuf;