diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-19 04:30:20 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-05-19 04:30:20 +0000 |
| commit | 2b2581ee37f080c0a95d20aedecd5cb04e81ef4a (patch) | |
| tree | 4ce1a3bcc3cd8793e50f48abba8eab04c8e7ea07 /man3/stpcpy.3 | |
| parent | 2dd578fd5b80cbfe5892b200633aa1442c4ac674 (diff) | |
| download | man-pages-2b2581ee37f080c0a95d20aedecd5cb04e81ef4a.tar.gz | |
Fix inconsistencies in order of .SH sections
Diffstat (limited to 'man3/stpcpy.3')
| -rw-r--r-- | man3/stpcpy.3 | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/man3/stpcpy.3 b/man3/stpcpy.3 index 472d3b4faf..1dcd3ca947 100644 --- a/man3/stpcpy.3 +++ b/man3/stpcpy.3 @@ -46,28 +46,30 @@ The strings may not overlap, and the destination string returns a pointer to the \fBend\fP of the string \fIdest\fP (that is, the address of the terminating null byte) rather than the beginning. +.SH "CONFORMING TO" +This function is not part of the C or POSIX.1 standards, and is +not customary on Unix systems, but is not a GNU invention either. +Perhaps it comes from MS-DOS. .SH EXAMPLE For example, this program uses .BR stpcpy () to concatenate \fBfoo\fP and \fBbar\fP to produce \fBfoobar\fP, which it then prints. +.in +0.5i .nf - #include <string.h> +#include <string.h> - int - main (void) - { - char *to = buffer; - to = stpcpy(to, "foo"); - to = stpcpy(to, "bar"); - printf("%s\\n", buffer); - } +int +main (void) +{ + char *to = buffer; + to = stpcpy(to, "foo"); + to = stpcpy(to, "bar"); + printf("%s\\n", buffer); +} .fi -.SH "CONFORMING TO" -This function is not part of the C or POSIX.1 standards, and is -not customary on Unix systems, but is not a GNU invention either. -Perhaps it comes from MS-DOS. +.in .SH "SEE ALSO" .BR bcopy (3), .BR memccpy (3), |
