repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add missing files
[glibc.git]
/
manual
/
examples
/
stpcpy.c
blob
b83226354ba96b886ffd431b326d0d2ea9837b0e
1
#include <string.h>
2
#include <stdio.h>
3
4
int
5
main
(
void
)
6
{
7
char
buffer
[
10
];
8
char
*
to
=
buffer
;
9
to
=
stpcpy
(
to
,
"foo"
);
10
to
=
stpcpy
(
to
,
"bar"
);
11
puts
(
buffer
);
12
return
0
;
13
}