Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.br
.BR get_current_dir_name ():
_GNU_SOURCE
+.sp
+.BR getwd ():
+.ad l
+.RS 4
+.PD 0
+.TP 4
+Since glibc 2.12:
+.nf
+_BSD_SOURCE ||
+ (_XOPEN_SOURCE >= 500 ||
+ _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
+ !(_POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700)
+.TP 4
+.fi
+Before glibc 2.12:
+_BSD_SOURCE || _XOPEN_SOURCE >= 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.PD
+.RE
+.ad b
.SH DESCRIPTION
These functions return a null-terminated string containing an
absolute pathname that is the current working directory of