aboutsummaryrefslogtreecommitdiffstats
path: root/man3/confstr.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-07-08 12:11:40 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-07-08 12:11:40 +0000
commitcc4615cc788aa749f34483abd33ba2b4a31d30f0 (patch)
tree97070128f611af532551a19bb8062597b22cabd8 /man3/confstr.3
parent86c256953d62ba083f7ef6adcc5b4063f0b51d2b (diff)
downloadman-pages-cc4615cc788aa749f34483abd33ba2b4a31d30f0.tar.gz
Added/updated glibc feature test macro requirements
Diffstat (limited to 'man3/confstr.3')
-rw-r--r--man3/confstr.317
1 files changed, 10 insertions, 7 deletions
diff --git a/man3/confstr.3 b/man3/confstr.3
index c338e9eddd..c3cd0e23a6 100644
--- a/man3/confstr.3
+++ b/man3/confstr.3
@@ -26,19 +26,23 @@
.\" See <bits/confname.h> for the rest.
.\" These should all be added to this page.
.\" See also the POSIX.1-2001 specification of confstr()
-.TH CONFSTR 3 1993-04-17 "GNU" "Linux Programmer's Manual"
+.TH CONFSTR 3 2007-07-26 "GNU" "Linux Programmer's Manual"
.SH NAME
confstr \- get configuration dependent string variables
.SH SYNOPSIS
.nf
-.B #define _POSIX_C_SOURCE 2
-or
-.B #define _XOPEN_SOURCE
-.br
.B #include <unistd.h>
.sp
.BI "size_t confstr(int " "name" ", char *" buf ", size_t " len );
.fi
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR getcwd ():
+_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
.SH DESCRIPTION
.BR confstr ()
gets the value of configuration-dependent string variables.
@@ -138,5 +142,4 @@ confstr(_CS_PATH, pathbuf, n);
.SH "SEE ALSO"
.BR sh (1),
.BR exec (3),
-.BR system (3),
-.BR feature_test_macros (7)
+.BR system (3)