stpcpy.3, stpncpy.3: Update for feature test macro changes in glibc 2.10

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2010-09-15 09:05:46 +02:00
parent 235063a08a
commit 79247bb119
2 changed files with 26 additions and 6 deletions

View File

@ -22,17 +22,27 @@
.\" 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"
.SH NAME
stpcpy \- copy a string returning a pointer to its end
.SH SYNOPSIS
.nf
.B #define _GNU_SOURCE
.br
.B #include <string.h>
.sp
.BI "char *stpcpy(char *" dest ", const char *" src );
.fi
.sp
.in -4n
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
.sp
.BR stpcpy ():
.br
Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700
.br
Before glibc 2.10:
_GNU_SOURCE
.SH DESCRIPTION
The
.BR stpcpy ()

View File

@ -9,17 +9,27 @@
.\" GNU glibc-2 source code and manual
.\"
.\" Corrected, aeb, 990824
.TH STPNCPY 3 1999-07-25 "GNU" "Linux Programmer's Manual"
.TH STPNCPY 3 2010-09-15 "GNU" "Linux Programmer's Manual"
.SH NAME
stpncpy \- copy a fixed-size string, returning a pointer to its end
.SH SYNOPSIS
.nf
.B #define _GNU_SOURCE
.br
.B #include <string.h>
.sp
.BI "char *stpncpy(char *" dest ", const char *" src ", size_t " n );
.fi
.sp
.in -4n
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
.sp
.BR stpncpy ():
.br
Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700
.br
Before glibc 2.10:
_GNU_SOURCE
.SH DESCRIPTION
The
.BR stpncpy ()