X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=draft%2Fman3%2Fstpcpy.3;h=150fb07cceb4024e01d6d997f3899b760a645fe2;hp=12f4cb25ecd72e7c2f65abc52635aee9d9fd3084;hb=7e089fcc022461849bbc09437103cc337a88dd9c;hpb=c03a7a882c608ebf399d1b044ce7a6daa922351a diff --git a/draft/man3/stpcpy.3 b/draft/man3/stpcpy.3 index 12f4cb25..150fb07c 100644 --- a/draft/man3/stpcpy.3 +++ b/draft/man3/stpcpy.3 @@ -27,7 +27,7 @@ .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" -.TH STPCPY 3 2009-02-04 "GNU" "Linux Programmer's Manual" +.TH STPCPY 3 2010-09-15 "GNU" "Linux Programmer's Manual" .\"O .SH NAME .SH ̾Á° .\"O stpcpy \- copy a string returning a pointer to its end @@ -35,12 +35,34 @@ stpcpy \- ʸ .\"O .SH SYNOPSIS .SH ½ñ¼° .nf -.B #define _GNU_SOURCE -.br .B #include .sp .BI "char *stpcpy(char *" dest ", const char *" src ); .fi +.sp +.in -4n +.\"O Feature Test Macro Requirements for glibc (see +.\"O .BR feature_test_macros (7)): +glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï +.RB ( feature_test_macros (7) +»²¾È): +.in +.sp +.BR stpcpy (): +.PD 0 +.ad l +.RS 4 +.TP 4 +.\"O Since glibc 2.10: +glibc 2.10 °Ê¹ß: +_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L +.TP +.\"O Before glibc 2.10: +glibc 2.10 ¤è¤êÁ°: +_GNU_SOURCE +.RE +.ad +.PD .\"O .SH DESCRIPTION .SH ÀâÌÀ .\"O The @@ -67,10 +89,10 @@ stpcpy \- ʸ .\"O .SH "CONFORMING TO" .SH ½àµò .\"O This function is not part of the C or POSIX.1 standards, and is -.\"O not customary on Unix systems, but is not a GNU invention either. +.\"O not customary on UNIX systems, but is not a GNU invention either. .\"O Perhaps it comes from MS-DOS. .\"O Nowadays, it is also present on the BSDs. -¤³¤Î´Ø¿ô¤Ï¡¢C ¤ä POSIX.1 ɸ½à¤Î°ìÉô¤Ç¤Ï¤Ê¤¯¡¢Unix ¥·¥¹¥Æ¥à¤Î´·½¬Åª¤Ê +¤³¤Î´Ø¿ô¤Ï¡¢C ¤ä POSIX.1 ɸ½à¤Î°ìÉô¤Ç¤Ï¤Ê¤¯¡¢UNIX ¥·¥¹¥Æ¥à¤Î´·½¬Åª¤Ê ¤â¤Î¤Ç¤â¤Ê¤¤¤¬¡¢GNU ¤ÎȯÌÀ¤È¤¤¤¦¤ï¤±¤Ç¤â¤Ê¤¤¡£ ¤Ò¤ç¤Ã¤È¤·¤¿¤é MS-DOS ͳÍè¤Î¤â¤Î¤«¤â¤·¤ì¤Ê¤¤¡£ ¸½ºß¤Ç¤Ï¡¢BSD ·Ï¤Ë¤â¸ºß¤¹¤ë¡£ @@ -117,5 +139,6 @@ main(void) .BR memcpy (3), .BR memmove (3), .BR strcpy (3), +.BR string (3), .BR wcpcpy (3), .BR feature_test_macros (7)