Sign in
nest-open-source
/
nest-cam
/
v350
/
glibc
/
refs/heads/main
/
.
/
manual
/
examples
/
stpcpy.c
blob: b83226354ba96b886ffd431b326d0d2ea9837b0e [
file
] [
log
] [
blame
]
#include
<string.h>
#include
<stdio.h>
int
main
(
void
)
{
char
buffer
[
10
];
char
*
to
=
buffer
;
to
=
stpcpy
(
to
,
"foo"
);
to
=
stpcpy
(
to
,
"bar"
);
puts
(
buffer
);
return
0
;
}