.\" WORD: current working directory ¥«¥ì¥ó¥È¥ï¡¼¥¥ó¥°¥Ç¥£¥ì¥¯¥È¥ê
.\" WORD: LEGACY ¡Ö²áµî¤Î̾»Ä(LEGACY)¡×
.\"
-.TH GETCWD 3 2009-03-31 "GNU" "Linux Programmer's Manual"
+.TH GETCWD 3 2010-09-20 "GNU" "Linux Programmer's Manual"
.\"O .SH NAME
.SH ̾Á°
.\"O getcwd, getwd, get_current_dir_name \- Get current working directory
glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
.RB ( feature_test_macros (7)
»²¾È):
-.in
.sp
-.BR getcwd ():
-_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
-.br
+.in
.BR get_current_dir_name ():
+.RS
_GNU_SOURCE
+.RE
+.sp
+.BR getwd ():
+.ad l
+.RS 4
+.PD 0
+.TP 4
+.\"O Since glibc 2.10:
+glibc 2.10 °Ê¹ß:
+.nf
+_BSD_SOURCE ||
+ (_XOPEN_SOURCE\ >=\ 500 ||
+ _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
+ !(_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700)
+.fi
+.TP 4
+.\"O Before glibc 2.10:
+glibc 2.10 ¤è¤êÁ°:
+_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 ||
+_XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED
+.PD
+.RE
+.ad b
.\"O .SH DESCRIPTION
.SH ÀâÌÀ
.\"O These functions return a null-terminated string containing an